home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / DOS / CAD_CAM / WCEDT202 / WCEDIT.DOC < prev    next >
Text File  |  1992-08-29  |  153KB  |  4,282 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.           AutoCAD, ACAD, AutoLISP, and ADS are trademarks of Autodesk, Inc.
  38.  
  39.                               Documentation by Stew Miller
  40.                                 Printed in the U.S.A.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.                                        CONTENTS
  47.  
  48.  
  49.           USING THIS MANUAL.............................................iii
  50.  
  51.           AN OVERVIEW OF WCEDIT.........................................  3
  52.              THE EDITOR.................................................  3
  53.              CONFIGURABLE...............................................  4
  54.              PROGRAMMABLE...............................................  4
  55.              AN APPLICATION ENGINE......................................  4
  56.  
  57.           INSTALLING WCEDIT.............................................  5
  58.  
  59.           USING THE EDITOR..............................................  6
  60.              LOADING THE EDITOR.........................................  6
  61.              THE EDITING SCREEN.........................................  7
  62.                  LINE EDITING........................................... 11
  63.                  MARKING TEXT........................................... 12
  64.                  MULTIPLE WINDOWS....................................... 13
  65.                  RECORDING MACROS....................................... 13
  66.                  PROGRAMMING............................................ 13
  67.  
  68.           USING THE MOUSE............................................... 15
  69.                  WINDOW RESIZING........................................ 15
  70.                  MOVING THE CURSOR...................................... 16
  71.                  MARKING TEXT........................................... 16
  72.                  MENU SELECTING......................................... 16
  73.  
  74.           THE MENU SYSTEM............................................... 17
  75.              FILES...................................................... 17
  76.              COMMANDS................................................... 19
  77.                  DEFAULT KEYS........................................... 22
  78.              LANGUAGE................................................... 25
  79.              OPTIONS.................................................... 29
  80.              SPELL...................................................... 32
  81.              SUPPORT.................................................... 34
  82.  
  83.           APPENDIX A - CONFIGURING WCEDIT............................... 35
  84.              CONFIGURATION FILES........................................ 35
  85.                  WC_COLORS.............................................. 35
  86.                  WC_HELP_FILE........................................... 36
  87.                  WC_SETVAR & WC_TOGGLE.................................. 36
  88.                  WCEDIT VARIABLES....................................... 36
  89.                  WCCONFIG............................................... 39
  90.  
  91.           APPENDIX B - PROGRAMMING WCEDIT............................... 41
  92.              TRIGGER FUNCTIONS.......................................... 42
  93.                  CURSOR MOVEMENT........................................ 42
  94.                  EDITING FUNCTIONS...................................... 43
  95.                  SCRAP-BUFFER........................................... 46
  96.                  DISK................................................... 48
  97.                  INQUIRY................................................ 49
  98.  
  99.  
  100.  
  101.  
  102.  
  103.                  WINDOWS................................................ 50
  104.              WCEDIT LISP FUNCTIONS...................................... 53
  105.                  CURSOR MOVEMENT........................................ 53
  106.                  EDITING................................................ 55
  107.                  SCRAP-BUFFER........................................... 62
  108.                  DISK................................................... 62
  109.                  INQUIRY................................................ 64
  110.                  SCREEN................................................. 70
  111.  
  112.           INDEX......................................................... 79
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.           USING THIS MANUAL
  120.  
  121.  
  122.           This manual is written for users with different levels of
  123.           experience. Everyone should start reading on this page, but stop
  124.           after the appropriate section.
  125.  
  126.           An Overview of WCEdit gives a summary of the features and power
  127.           in WCEdit if you're not sure what Wcedit has to offer. This may
  128.           be useful for anyone new to WCEdit.
  129.  
  130.           If you are not familiar with configuring the AutoCAD environment,
  131.           Installing WCEdit will help you make sure that you have installed
  132.           the editor where AutoCAD can find it.
  133.  
  134.           Using The Editor describes the editing screen, and explains basic
  135.           editing functions.
  136.  
  137.           Using the Mouse shows how to use the mouse for quick access to
  138.           special features.
  139.  
  140.           The Menu System presents the v2.0 menu system, which makes the
  141.           powerful features of WCEdit easy to use.
  142.  
  143.           Finally, the appendixes Configuring WCEdit and Programming WCEdit
  144.           contain detailed information for advanced users and programmers.
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.           Various typefaces are used throughout the manual to distinguish
  153.           properties as follows:
  154.  
  155.           ALL CAPS  File names, such as ACAD.LSP, are shown in capital
  156.                     letters.
  157.  
  158.           BOLD CAPS This typeface represents the names of WCEdit functions
  159.                     in text, but not in example programs.
  160.  
  161.           Small caps   Small caps indicate literal, or combinations of,
  162.                        keys or on your keyboard.
  163.  
  164.           MONOSPACE We use mono-spaced typeface to depict text as it
  165.                     appears onscreen or in example programs.
  166.  
  167.           Italics      Variables and function arguments are italicized,
  168.                        such as int , real , and string . Some arguments
  169.                        that must be passed as strings are shown in double
  170.                        quotes, for example "path".
  171.  
  172.           <>     Optional arguments are shown in angle brackets.
  173.  
  174.           []        Because of the significance of parenthesis in AutoLISP,
  175.                     square brackets are used to set off small examples and
  176.                     notes [like this].
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.           AN OVERVIEW OF WCEDIT
  188.  
  189.  
  190.                                          ELSA
  191.                                        presents
  192.                                       WCEdit v2.0
  193.  
  194.  
  195.           WCEdit v2.0 is brought to you through the gracious support of
  196.           ELSA America, makers of fine graphics adapters. ELSA has
  197.           underwritten the development of this software, enabling it to be
  198.           distributed at a greatly reduced price as shareware. This version
  199.           is not a demo, not crippled, but is a fully working copy. All
  200.           documentation is included in the distribution file, ready for
  201.           printing. Upon registering your copy, you will receive print
  202.           documents and telephone support. We wish to thank ELSA for their
  203.           backing, and let you know more about their excellent video
  204.           boards. On the support menu in WCEdit you will find answers to
  205.           some basic questions about video coprocessors. That menu also has
  206.           summaries of ELSA's video boards, their advantages, and features
  207.  
  208.  
  209.           THE EDITOR
  210.  
  211.           WCEdit is a totally programmable text editor with special
  212.           features for editing AutoLISP and AutoCAD menus. WCEdit allows
  213.           rapid manipulation of extremely large files inside AutoCAD. Since
  214.           it is an ADS application, written in C language, WCEdit will only
  215.           run in 386 versions of AutoCAD at this time.
  216.  
  217.           Version 2.0 includes many exciting new features, such as full
  218.           menu access, color coding of AutoLISP files, AutoCAD text and
  219.           attribute editing, entity listing in AutoLISP format, spell-
  220.           checking of file and drawings, wildcard support in word searches,
  221.           a built in ASCII chart, a calculator, and complete UNDO
  222.           capabilities!
  223.  
  224.           WCEdit enables you to perform rapid edit/test cycles on AutoLISP
  225.           code. Parenthesis and quote checking/highlighting, function and
  226.           symbol evaluation, and automatic reloading of modified files all
  227.           add up to lightning fast application development. Plus, WCEdit
  228.           and your files are maintained in AutoCAD's virtual memory - no
  229.           more shelling out to your editor.
  230.  
  231.           Word processing features such as margins, paragraph indenting,
  232.           find and replace, and case switching, along with AutoLISP access
  233.           to all of the editor functions, round out WCEdit's matchless
  234.           performance.
  235.  
  236.           Now you have an editor inside AutoCAD, and AutoCAD inside your
  237.           editor!
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.           CONFIGURABLE
  248.  
  249.           You can easily reconfigure the default settings to meet your
  250.           preferences using intuitive control panels on the pull-down
  251.           menus. This includes screen colors, and a customizable help file.
  252.           Editing functions and AutoLISP macros can be mapped to any key or
  253.           key sequence, including extended keys. Most people modify this
  254.           mapping to emulate their favorite editor. Several common layouts
  255.           are selectable from the menus.
  256.  
  257.  
  258.  
  259.           PROGRAMMABLE
  260.  
  261.           WCEdit's real strength lies in flexibility, using a language that
  262.           you are already familiar with: AutoLISP!  What better macro
  263.           language could be chosen for an AutoLISP editor?  User-defined
  264.           functions can run inside the editor to perform tasks for specific
  265.           needs, and can be assigned to keystrokes like WCEdit functions.
  266.  
  267.  
  268.  
  269.           AN APPLICATION ENGINE
  270.  
  271.           WCEdit gives you powerful programming extensions for AutoLISP.
  272.           AutoLISP functions can perform standard editing functions such as
  273.           search, delete, and insert text. Or you can write functions in
  274.           AutoLISP that call WCEdit functions discretely, without the
  275.           editor being visible. You can retrieve text from, write text to,
  276.           or otherwise manipulate the files in the editor, during any
  277.           AutoLISP routine. WCEdit allows you to access data files
  278.           directly, instead of sequentially, as AutoLISP does.
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.           INSTALLING WCEDIT
  286.  
  287.  
  288.           After placing the WCEdit distribution diskette in your floppy
  289.           drive, make that the current drive by typing A: (or B: as the
  290.           case may be) and Enter at the DOS prompt. Next type install then
  291.           Enter to start the installation routine. The installation program
  292.           will prompt you for the drive and directory to which it should
  293.           copy the WCEdit files.
  294.  
  295.           AutoCAD must be able to locate and load the WCEdit program,
  296.           WCEDIT.EXP, and it's support files. This is controlled by setting
  297.           the DOS environment variable, ACAD, to the path AutoCAD should
  298.           use when searching for it's library files. For example,
  299.           set ACAD=c:\lisp;c:\acad\lib;c:\wcedit
  300.           would cause AutoCAD to look in the \lisp, \acad\lib, and the
  301.           \wcedit directories of the C drive for library files (i.e. fonts,
  302.           blocks, and ADS applications). If WCEdit is not in a directory
  303.           that is listed in the ACAD variable, AutoCAD will probably not be
  304.           able to load the editor. See your AutoCAD Installation and
  305.           Performance Guide for more information on setting this variable.
  306.  
  307.           Network users may maintain separate configurations by setting
  308.           another environment variable, WCEDIT, to the directory from which
  309.           WCEdit should get help and configuration files. NOTE: if the
  310.           WCEDIT variable is set, WCEdit will NOT search the path set in
  311.           the ACAD variable. For example,  set WCEDIT=s:\ads\kim  would
  312.           force WCEDIT to use Kim's settings in that directory. WCEdit
  313.           writes configuration files itself, but the help file must be
  314.           placed there by the user or system administrator.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.           USING THE EDITOR
  324.  
  325.  
  326.  
  327.           WCEdit holds your files in memory continuously, even while you
  328.           return to the AutoCAD Main Menu and load another drawing. This
  329.           allows you to edit, save, reload, test them in AutoCAD [or the
  330.           editor], and return to the same place to continue editing. The
  331.           edit/test cycle is enhanced even further by the editors ability
  332.           to load AutoLISP files that have been edited and run them while
  333.           in the editor. WCEdit will warn you if you attempt to exit
  334.           AutoCAD without saving your edited files, and give you an
  335.           opportunity to save. Upon exiting AutoCAD, WCEdit saves the names
  336.           of, and your positions in, the files that are loaded. The next
  337.           time you run WCEdit, these files are reloaded automatically.
  338.  
  339.  
  340.  
  341.           LOADING THE EDITOR
  342.  
  343.           To load WCEdit type (load "WC") at the AutoCAD command prompt.
  344.           This will load the WC.LSP file and WCEDIT.EXP if it has not been
  345.           loaded yet. WC.LSP contains the C:WC function that is used to
  346.           enter the editor from the AutoCAD command prompt. If no files are
  347.           currently loaded, you will be prompted for the filename to edit.
  348.           WCEdit can maintain up to two hundred files in memory at one
  349.           time. We will refer to these as buffers from hereon, with files
  350.           referring to the text files on your disk. If you enter the name
  351.           of a file that does not exist, a new buffer will be created with
  352.           that name. After this, type WC at the command prompt to re-enter
  353.           WCEdit.
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.           THE EDITING SCREEN
  363.  
  364.           When you enter WCEdit you will see the editing screen, with a
  365.           single editing window. The blinking cursor points to your current
  366.           position in the buffer, and indicates the insert mode is on by
  367.           becoming pronouncedly larger. Inset in the window border is the
  368.           name of the file in that window, See The Menu System for
  369.           information on using the menus. On the left side of window is a
  370.           scroll bar that indicates your relative position in the buffer
  371.           [See Using The Mouse]. The top line of the screen contains the
  372.           names of the pull-down menus. Pressing the alternate key and the
  373.           highlighted letter of a menu name, at the same time, will pull-
  374.           down that menu.
  375.  
  376.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  377.                                                                                  ║
  378.    ░                                                                              ║
  379.    ░                                                                              ║
  380.    ░                                                                              ║
  381.    ░                                                                              ║
  382.    ░                                                                              ║
  383.    ░                                                                              ║
  384.    ░                                                                              ║
  385.    ░                                                                              ║
  386.    ░    _                                                                         ║
  387.    ░                                                                              ║
  388.    ░                                                                              ║
  389.    ░                                                                              ║
  390.    ░                                                                              ║
  391.    ░                                                                              ║
  392.    ░                                                                              ║
  393.    ░                                                                              ║
  394.    ░                                                                              ║
  395.    ░                                                                              ║
  396.    ░                                                                              ║
  397.    ░                                                                              ║
  398.    ╚══════════════════════════════════ ELSA.TXT ══════════════════════════════════╝
  399.    WCEdit V2.01  (C) 1991,92 by ELSA America, Inc    Line 10     Col 5    │#│ │ │
  400.  
  401.           At the bottom of the screen is the status line, which displays
  402.           messages and prompts, the position of the cursor (line and
  403.           column), and symbols indicating the state of several keys on your
  404.           keyboard. Those keys are:
  405.           Shift state | Num lock | Scroll lock | Alt key | Control key.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.           The screen may be split horizontally or vertically into two
  415.           editing windows for viewing two buffers [see Default Keys], but
  416.           you may only edit in one window at a time. You may also work with
  417.           the same buffer in two windows, allowing you to work on the top
  418.           and bottom of the same buffer simultaneously.
  419.  
  420.           Split screens look like this:
  421.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  422.                                                                                  ║
  423.    ░                                                                              ║
  424.    ░                                                                              ║
  425.    ░                                                                              ║
  426.    ░                                                                              ║
  427.    ░                                                                              ║
  428.    ░                                                                              ║
  429.    ░                                                                              ║
  430.    ░                                                                              ║
  431.    ░                                                                              ║
  432.    ╠══════════════════════════════════ ELSA.TXT ══════════════════════════════════╣
  433.    _                                                                             ║
  434.    ░                                                                              ║
  435.    ░                                                                              ║
  436.    ░                                                                              ║
  437.    ░                                                                              ║
  438.    ░                                                                              ║
  439.    ░                                                                              ║
  440.    ░                                                                              ║
  441.    ░                                                                              ║
  442.    ░                                                                              ║
  443.    ░                                                                              ║
  444.    ╚═════════════════════════════════ RATTAIL.LSP ════════════════════════════════╝
  445.                                                     Line 1      Col 1     │#│ │ │
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.           Or this:
  458.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  459.                                             ║                                    
  460.    ░                                         ║                                    ░
  461.    ░                                         ║                                    ░
  462.    ░                                         ║                                    ░
  463.    ░                                         ║                                    ░
  464.    ░                                         ║                                    ░
  465.    ░                                         ║                                    ░
  466.    ░                                         ║                                    ░
  467.    ░                                         ║                                    ░
  468.    ░                                         ║                                    ░
  469.    ░                                         ║                                    ░
  470.    ░                                         ║                                    ░
  471.    ░                                         ║                                    ░
  472.    ░                                         ║                                    ░
  473.    ░                                         ║                                    ░
  474.    ░                                         ║                                    ░
  475.    ░                                         ║                                    ░
  476.    ░                                         ║                                    ░
  477.    ░                                         ║                                    ░
  478.    ░                                         ║                                    ░
  479.    ░                                         ║                                    ░
  480.    ░                                         ║                                    ░
  481.    ╚═══════════════ AUDIO.LSP ═══════════════╩═════════════ ELSA.TXT ═════════════╝
  482.                                                      Line 2      Col 1    │#│ │ │
  483.  
  484.  
  485.  
  486.           WCEdit maintains another buffer at all times, the Scrap buffer.
  487.           This works like a clipboard for cut and paste tasks. Text may be
  488.           copied or moved to, and inserted from the scrap buffer into other
  489.           buffers. WCEdit can also put text from other sources in the scrap
  490.           buffer, such as the AutoCAD text screen and listed entities, for
  491.           inserting in the editor. Although the scrap buffer is not
  492.           normally visible, you may view the scrap buffer any time you wish
  493.           by pressing Alt-v [default].
  494.  
  495.           A commonly used window is the Command window. This window pops up
  496.           when you press the Ctrl-shift key combination, mouse button 2, or
  497.           select Commands from the Command menu. It contains a list of
  498.           commonly used commands for easy access. The most recently
  499.           selected command is highlighted. The commands listed are easily
  500.           assigned and removed via the Function control panel, described in
  501.           The Menu System.
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.                           ╔[Cancel]═══ New File ══════[OK]═╗
  511.                           ║Filter:  *.lsp                  ║
  512.                           ║C:\ACAD\ACLISP\ACAD.LSP         ║
  513.                           ╠═══╦═════════════╦══════════════╣
  514.                           ║C: ║..           ║1185.LSP      ║
  515.                           ║D: ║             ║1TO5.LSP      ║
  516.                           ║   ║             ║3D.LSP        ║
  517.                           ║   ║             ║ACAD.LSP      ║
  518.                           ║   ║             ║ADDNUM.LSP    ║
  519.                           ║   ║             ║ALIGN.LSP     ║
  520.                           ║   ║             ║ANSI.LSP      ║
  521.                           ║   ║             ║ARO.LSP       ║
  522.                           ║   ║             ║ASCTEXT.LSP   ║
  523.                           ║   ║             ║ATOUT.LSP     ║
  524.                           ║   ║             ║ATTREDEF.LSP  ║
  525.                           ╚═══╩═════════════╩══════════════╝
  526.  
  527.                                    File Dialogue Box
  528.  
  529.           One other window is used by several functions, the File Dialogue
  530.           Box. This dialogue box is used whenever WCEdit needs the name of
  531.           a file to load or view. The window opens with the cursor on the
  532.           second line, and the name of the last file read is displayed for
  533.           editing. If you type any character, instead of an editing key,
  534.           the old filename will be removed from the line to make room for a
  535.           new name. A filename can be selected from a list by moving the
  536.           cursor down with the Tab or Arrow keys, and selecting a drive.
  537.           Then right to select a directory, and right again to select the
  538.           file. For fast file selection, if you type a character, the
  539.           cursor will move to the first file beginning with that letter.
  540.           Pressing that character again will move the cursor to the next
  541.           file, and so on. Press Enter to select the file to be retrieved.
  542.           The file list can be narrowed by using the Filter feature on the
  543.           first line.
  544.  
  545.  
  546.           To search for strings of text, use F5 to start the Find command.
  547.           Find prompts you for the search-string, and will accept a ? as a
  548.           wildcard in the string. Ctrl-F5 is a multi-buffer text search
  549.           routine. Like the Find command, a box appears prompting you for
  550.           the string to search for. If you had 10 files loaded, and wished
  551.           to find which files contained the 'apples', Ctrl-F5 would search
  552.           each buffer in the editor for this string. If found, the cursor
  553.           is placed at that first position of the find sequence. A window
  554.           then appears showing which of the buffers the string was found
  555.           in. Selecting one of the buffers will make that buffer the active
  556.           buffer, with the cursor upon the find string. Subsequent calls to
  557.           the routine with the same search string results in a prompt to
  558.           retain the previous list. The next file in the list will then be
  559.           highlighted.
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.           Find and replace is executed by pressing F6. This will open a
  567.           window for entering the string to find, and the string to
  568.           replace. Press F10 to accept the strings for find and replace. If
  569.           a question mark [?] is included in the find string, a query box
  570.           will be displayed asking if the question mark is a wildcard. For
  571.           example, entering t?o as the find string will prompt: "Use '?' as
  572.           a wildcard?". If the user responds yes to this query, then the
  573.           following words would be accepted as equivalent: too, two, tao,
  574.           tbo, t1o, etc. Next, you may enter a list of non-wildcard
  575.           characters, to limit the scope of the find. For example, if the
  576.           non-wildcards for the above example were "wab" then the following
  577.           words would be overlooked in the find sequence: two, tao, tbo.
  578.  
  579.           At each occurrence of the find string, you may perform the
  580.           following functions:
  581.  
  582.              Yes - Replace this and continue through the buffer.
  583.              No - Ignore this and continue through the buffer.
  584.              All - Change all occurrences in the buffer without question.
  585.              One - Change just this one occurrence and stop.
  586.              Undo - Step back through previous changes made and undo them.
  587.  
  588.           At the last occurrence of the find string in the file, one of two
  589.           prompts will appear, depending upon the state of the variable
  590.           entitled "Next file with find and replace". If the variable is
  591.           off then the following question will appear:
  592.  
  593.              Changed: x in text
  594.              Top of file/Next file/<stop>
  595.  
  596.           Responding with a 'T' will continue the find and replace at the
  597.           top of the file, an 'N' will toggle to the next file [if more
  598.           than file has been loaded], and any other key will cause find and
  599.           replace to stop. If the variable is on, then the prompt  "Change
  600.           in all files without prompt?"  will appear.  Answering yes will
  601.           result in ALL buffers currently loaded being run through find and
  602.           replace, and all matches replaced.
  603.  
  604.  
  605.           LINE EDITING
  606.  
  607.           You may join two lines by moving the cursor to the end of the
  608.           line and pressing Delete. Additionally, placing the cursor on the
  609.           first column of a line and pressing Backspace will move that line
  610.           up to the end of the preceding line [see variable BSPACE_WRAP for
  611.           controlling this feature].
  612.  
  613.           WCEdit does not support tab characters. Tabs in files being read
  614.           in will be converted to spaces [see Tab width under Commands
  615.           menu/Variables]. Pressing Tab with the insert mode on will also
  616.  
  617.  
  618.  
  619.  
  620.  
  621.           insert the appropriate number of spaces. If you prefer working
  622.           with the insert mode off, the tab key merely moves the cursor to
  623.           the next tab position.
  624.  
  625.  
  626.           MARKING TEXT
  627.  
  628.  
  629.           Marking text allows you to perform functions on the entire block
  630.           of text.  Place a mark by placing the cursor at the start of the
  631.           block, and beginning the type of mark desired. INCLUSIVE marking
  632.           [F9 or mouse] may start anywhere on a line, wraps around the end
  633.           of lines, and may stop anywhere on a line. COLUMN marking [Alt-
  634.           f9] blocks a rectangle of text, including spaces. LINE marking
  635.           [Ctrl-f9] blocks entire lines regardless of the position of the
  636.           mark on the line. Dynamic marking allows you to drag the end of
  637.           the mark using the arrow keys or your mouse. This works with any
  638.           type of mark. To stop marking, press the marking key which
  639.           started your mark.
  640.  
  641.           The method with which text was marked is remembered by WCEdit
  642.           when the text is cut to the scrap buffer. That mode is then used
  643.           when inserting the text from the scrap buffer.
  644.  
  645.           For example, if the scrap buffer contained this text,
  646.  
  647.           BBBBB
  648.           BBBBB
  649.  
  650.           and your text file looked like this,
  651.  
  652.           AAAAA
  653.           AAAAA
  654.           AAAAA
  655.  
  656.           inserting with the line mode would produce this,
  657.  
  658.           AAAAA
  659.           BBBBB
  660.           BBBBB
  661.           AAAAA
  662.           AAAAA
  663.  
  664.           and inserting with the column mode would cause these results,
  665.  
  666.           AAAAA
  667.           BBBBBAAAAA
  668.           BBBBBAAAAA
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.           Text is normally pasted from the scrap buffer as if the insert
  676.           mode were on.
  677.  
  678.           MULTIPLE WINDOWS
  679.  
  680.           WCEdit allows you display one or two windows at the same time,
  681.           and control which buffers are viewed in each window. You may
  682.           split the screen either horizontally or vertically, and size the
  683.           windows to meet your needs. Alt-1 and Alt-2 both split at the
  684.           center of the screen, vertically or horizontally. Alt-3 and Alt-4
  685.           split the screen vertically and horizontally at the current
  686.           cursor position. To resize the windows, position the cursor using
  687.           the arrow keys or the mouse, and reinvoke the Alt-3 or Alt-4
  688.           command.
  689.  
  690.           Different buffers may be viewed in each window, or the same
  691.           buffer may be displayed in both windows, allowing you to view
  692.           different portions of the same file [like AutoCAD Viewports]. You
  693.           can cut and paste from one buffer to another, or from one window
  694.           to the other window. To toggle to the other window press Alt-n,
  695.           or use the mouse to reposition the cursor. Alt-z will zoom the
  696.           current window to fill the screen, returning you to single-window
  697.           mode.
  698.  
  699.  
  700.  
  701.           RECORDING MACROS
  702.  
  703.           Pressing F7 starts the macro recording feature. This logs every
  704.           key stroke you enter until F7 is press again. The macro may be
  705.           replayed by pressing F8 at any time before you leave AutoCAD and
  706.           return to DOS. This handy feature saves time and increases
  707.           accuracy in repetitive operations. Macros may be saved to files
  708.           by selecting the save macro function from the Commands menu. We
  709.           recommend that you be using only one keyboard layout if you
  710.           intend to use recorded macros. Because WCEdit records keystrokes,
  711.           not functions, playing back a macro under a different keyboard
  712.           configuration may produce unforeseen results.
  713.  
  714.  
  715.  
  716.           PROGRAMMING
  717.  
  718.           WCEdit's powerful programming functions make it unparalleled for
  719.           AutoLISP and AutoCAD menu editing. No other editor matches
  720.           WCEdit's capability and features.
  721.  
  722.           Start by pretty printing AutoLISP code. WCEdit will indent your
  723.           AutoLISP code, using the current tab setting and the left margin
  724.           using Ctrl-p.  Opening parentheses are tabbed and closing
  725.  
  726.  
  727.  
  728.  
  729.  
  730.           parentheses aligned with their matching colleague. Of course,
  731.           nesting of pairs is taken into consideration, as are comments and
  732.           strings [This feature can be disabled from the Variables menu].
  733.  
  734.           Next, robust parentheses and quote checking confirm the integrity
  735.           of your code. Parenthesis and quotes that are located inside of
  736.           strings and comments are ignored. These exclusions can be
  737.           disabled, via the Variables menu, to force WCEdit to scrutinize
  738.           every occurrence of these characters. A single parenthesis/quote
  739.           comparison is performed by placing the cursor on a parenthesis or
  740.           double quote and pressing F3. The cursor is moved to the
  741.           balancing character. An invalid match usually results in the
  742.           cursor being moved to the beginning or end of file. A chirp and
  743.           prompt notify you of such an error. The entire buffer may be
  744.           checked by striking F4. The soundness of the code will be
  745.           announced, along with a count of the matching pairs.
  746.  
  747.           More AutoLISP control is contributed by several external
  748.           commands. Available on the F10 command menu, they merit their own
  749.           function key also. "Inspect, write and load the current AutoLISP
  750.           file" runs a full paren/quote check and writes the buffer to
  751.           disk. If these steps are completed satisfactorily, the file is
  752.           reloaded via (load "filename"). For easy testing of AutoLISP
  753.           routines, you can run one with "run AutoLISP function" option on
  754.           the Language menu. These commands work in unison to create the
  755.           fastest check/reload/run debugging cycle available.
  756.  
  757.           Menu editing functions add further to WCEdit's programming
  758.           fortitude. A press of Ctrl-t will clean all trailing [end of
  759.           line] space characters from a buffer. This is especially valuable
  760.           because of AutoCAD's interpretation of spaces as the Enter key in
  761.           menus.
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.           USING THE MOUSE
  769.  
  770.  
  771.           Mouse input is supported at almost every phase in the editor.
  772.           Uses include:
  773.  
  774.             Moving the cursor
  775.             Marking text
  776.             Menu selection
  777.             Window resizing
  778.  
  779.  
  780.           While discussing the mouse, "Picking" refers to pressing button
  781.           number one (usually the left button) and releasing it. "Double
  782.           clicking" denotes pressing button number one twice, rapidly.
  783.           "Dragging" means holding the button down while moving the
  784.           pointer. The mouse pointer is a reverse-video rectangle (█),
  785.           which should not be confused with the editor's blinking cursor
  786.           ().
  787.  
  788.           Button number two [normally the right button], pops up the
  789.           Command Window, which contains your favorite commands. See Using
  790.           the Editor for a description of the Command Window.
  791.  
  792.  
  793.           WINDOW RESIZING
  794.  
  795.           When working with a split screen, you may wish to change the size
  796.           of the windows. Window resizing is performed with the mouse by
  797.           placing the pointer on the crossbar between the windows, and
  798.           dragging the bar into its new position.
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.           MOVING THE CURSOR
  807.  
  808.           Picking in a window will move the cursor to that location.
  809.           Dragging the cursor to the left, right, up, or down, will scroll
  810.           a window in that direction, leaving the cursor at the pointer
  811.           location when you release the button. Scrolling speed may
  812.           adjusted from the Variables menu or with the variable MSSPEED
  813.           [see WC_SETVAR].
  814.  
  815.           The scroll bar on the left side of the windows can be used to
  816.           scroll the buffer quickly. The bar represents the length of the
  817.           buffer, with a double arrow () showing the relative position in
  818.           the buffer. Dragging the double arrow up or down will scroll the
  819.           buffer in that direction. Picking above or below the double arrow
  820.           will cause the window to scroll one page up or down.
  821.  
  822.           For more ways to move around in the editor, see Cursor Movement.
  823.  
  824.  
  825.           MARKING TEXT
  826.  
  827.           The mouse offers a quick way to mark blocks of text. The mouse
  828.           marks text with an "inclusive" mark, which may begin and end
  829.           anywhere on a line, and wraps around at the end of lines in
  830.           between. To mark text, put the cursor at the beginning of the
  831.           text to be marked, double click and drag the pointer to the other
  832.           end of the text. Other types of text marks are described under
  833.           Marking Text.
  834.  
  835.  
  836.           MENU SELECTING
  837.  
  838.           Picking a menu title on the top line will pull that menu down.
  839.           Selections may be made by picking the desired option, typing the
  840.           highlighted letter, or by moving the cursor bar with the cursor
  841.           keys and pressing enter.
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.           THE MENU SYSTEM
  849.  
  850.  
  851.           The top line of the editor screen displays seven menu titles,
  852.           similar to the AutoCAD menu bar. You may pull down a menu by
  853.           picking the menu's title with the mouse, by pressing the
  854.           Alternate key and the highlighted letter of the title together,
  855.           or by using the Ctrl-shift key combination. The cursor is
  856.           displayed as a highlighted bar both on the titles and menu
  857.           option. Using Ctrl-shift will pull down the menu which was used
  858.           last, with the cursor bar on the previously used selection.
  859.  
  860.           You may pick an option by either moving the cursor with the arrow
  861.           keys and pressing Enter, or by picking with mouse pointer. Many
  862.           of the functions may be accessed directly with their own key
  863.           strokes. See Default Keys for a listing of key assignments.
  864.  
  865.           Pressing Escape will always exit the current menu, returning you
  866.           to the previous menu, or to the editor.
  867.  
  868.  
  869.  
  870.  
  871.           FILES
  872.  
  873.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  874.    ┌───────────┐                                                                  ║
  875.    │about      │                                                                  ║
  876.    │New        │                                                                  ║
  877.    │Toggle file│                                                                  ║
  878.    │Write to:  │                                                                  ║
  879.    │Read in    │                                                                  ║
  880.    │save/eXit  │                                                                  ║
  881.    │buffer List│                                                                  ║
  882.    │rePlace    │                                                                  ║
  883.    │Quit       │                                                                  ║
  884.    └── Elsa ───┘                                                                  ║
  885.    ░                                                                              ║
  886.  
  887.  
  888.  
  889.           The first menu is the Files menu. It contains functions to read
  890.           and write files, and switch from one buffer to another. Since
  891.           WCEdit stays in memory continuously while you are in AutoCAD, the
  892.           buffers are also maintained in memory. This means the contents of
  893.           the buffers are not lost when you quit the editor to work in
  894.           AutoCAD. If you exit AutoCAD without saving the buffer[s], WCEdit
  895.           will warn you of unsaved work and give you the opportunity to
  896.           save. Conversely, WCEdit will ignore save commands if nothing has
  897.           been changed. Following is a description of each Files option.
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.           The about option will tell you the latest information about the
  905.           author and copyright of the software.
  906.  
  907.           New prompts the user for a file to edit using the File Dialogue
  908.           Box described in The Editing Screen. If that selected file is
  909.           already loaded, it will be switched to; if not, WCEdit will open
  910.           a new buffer with that name and make it the active buffer. If a
  911.           file is found with that filespec [path and filename], it will be
  912.           read into the new buffer. If not, the new buffer will remain
  913.           empty. Up to two hundred buffers may be open at one time.
  914.  
  915.           The buffers may be shifted through in the current window by using
  916.           the Toggle file option. Buffers are loaded into memory in a ring
  917.           pattern. When the last buffer in the ring is reached, the window
  918.           shifts back to the first buffer. Note that the scrap buffer is
  919.           not a part of this ring.
  920.  
  921.           Write to prompts the user for a file to write the current buffer
  922.           to. The current filename assigned to the buffer is the default,
  923.           like AutoCAD's SAVE command.
  924.  
  925.           Another file may be read into the active buffer with the Read in
  926.           function. The file will be "stuffed" line by line at the cursor
  927.           position, as if typing with the insert mode on. This can be used
  928.           to combine two files, or to create a new file that is equivalent
  929.           to an existing file. For example, open a new buffer that is empty
  930.           with the New option, then read in the existing file with the Read
  931.           in command. The alternative is to use the DOS copy command, for
  932.           example copy exist.txt new.txt.
  933.  
  934.           By selecting save/eXit you will write the current buffer to the
  935.           disk, and return to the AutoCAD command prompt. No questions, no
  936.           prompts.
  937.  
  938.  
  939.           The buffer List option pops up a window displaying all of the
  940.           currently open buffers. You may pick one to edit, or delete any
  941.           except the last one [the editor must always keep one buffer open,
  942.           even if it is empty]. Select another buffer by moving the cursor
  943.           to it and pressing enter, by pressing the letter next to the
  944.           filename [A, B, C, etc], or by picking it with your mouse.
  945.  
  946.           The rePlace option works just like the New function, creating or
  947.           reading in a new file (if it exists). The difference is that
  948.           instead of adding the new file to the ring, it replaces the
  949.           current buffer. You will be prompted to save if you have made
  950.           changes.
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.           Quit exits the editor, simply and quickly. Files that weren't
  958.           saved will not be lost. Buffers are retained in memory by the
  959.           editor until you return.
  960.  
  961.  
  962.           COMMANDS
  963.  
  964.           WCEdit's editing environment is easily defined, and redefined,
  965.           from the menu system or by using an AutoLISP configuration file.
  966.           The easiest method is through the menu access to variables, key
  967.           functions, and color assignments. Picking the Commands option
  968.           gives you access to common commands, editor variables, and the
  969.           editor configuration panels.
  970.  
  971.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  972.              ╔══════════════════╗
  973.              ║Commands          ║
  974.              ║Variables         ║
  975.              ║configure Keys    ║
  976.              ║Reset defaults    ║
  977.              ║Write config file ║
  978.              ║Help              ║
  979.              ╚══════ Elsa ══════╝
  980.  
  981.  
  982.  
  983.           The first is the Commands option, which pops up the Command
  984.           Window.
  985.  
  986.               ╔═══════════════════════════════════════════════════════╗
  987.               ║Find and replace                              F6       ║
  988.               ║Find                                          F5       ║
  989.               ║Repeat last find                              Alt F5   ║
  990.               ║Delete to end of line                         Alt K    ║
  991.               ║Delete this line                              Alt H    ║
  992.               ║Begin an inclusive mark                       F9       ║
  993.               ║De-highlight block                            Ctrl E   ║
  994.               ║Copy block to scrap buffer                    Ctrl K   ║
  995.               ║Paste in the scrap buffer                     Alt I    ║
  996.               ║Cut and paste block                           Alt M    ║
  997.               ║Delete marked text                            Ctrl D   ║
  998.               ║To top of file                                Ctrl PgUp║
  999.               ║To end of file                                Ctrl End ║
  1000.               ║Goto line                                     Alt G    ║
  1001.               ║Split the screen at position vertically       Alt 3    ║
  1002.               ║Split the screen at position horizontally     Alt 4    ║
  1003.               ║Zoom the current buffer to full               Alt Z    ║
  1004.               ╚═══════════════════════════════════════════════════════╝
  1005.  
  1006.                                     Command window
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.           The Command window lists additional commands that aren't
  1015.           accessible from the menu system, and their assigned key strokes.
  1016.           Displayed functions may be executed by picking them from the
  1017.           list. The window can also be popped up using mouse button 2, or
  1018.           the Ctrl-Alt key combination. You can change which commands are
  1019.           displayed in the window by using the configure Keys option,
  1020.           described further on. An explicit list of available commands can
  1021.           be found in the Default Keys appendix, or the Help window of
  1022.           WCEdit [F1].
  1023.  
  1024.  
  1025.                      ╔════  Select a Variable to change  ════╗
  1026.                      ║Tab width                                ║
  1027.                      ║Right margin                             ║
  1028.                      ║Word wrap                                ║
  1029.                      ║Backspace wrapping                       ║
  1030.                      ║Left margin                              ║
  1031.                      ║Mouse window scroll speed                ║
  1032.                      ║Show end of line                         ║
  1033.                      ║Reverse cursor display                   ║
  1034.                      ║First word in paragraph                  ║
  1035.                      ║Config auto save                         ║
  1036.                      ║Kill undo chain at file write            ║
  1037.                      ║Next file with find & replace            ║
  1038.                      ║Dictionary loading in speller            ║
  1039.                      ║Display of files in file window          ║
  1040.                      ║Dual screen display                      ║
  1041.                      ║Color painting mode                      ║
  1042.                      ╚═════════   Escape to exit   ══════════╝
  1043.  
  1044.                                Variables control panel
  1045.  
  1046.  
  1047.           The Variables option displays the descriptions of various editor
  1048.           variables that can be toggled or adjusted; such as tab width,
  1049.           margins, cursor size, and the insert mode. Selecting a
  1050.           description will toggle that variable on or off and display the
  1051.           current status on the bottom line of the display. For variables
  1052.           that cannot be toggled, you will prompted for the new value [
  1053.           e.g. Right margin: 10 ]. Although most of the descriptions are
  1054.           sufficient, the Variables appendix gives a detailed description
  1055.           of each one.
  1056.  
  1057.  
  1058.           The configure Keys menu lets you assign functions to key strokes
  1059.           using the Function Control Panel. The first column of the panel
  1060.           gives the description of each function. The second shows which
  1061.           key [if any] is assigned to it. If more than one key is assigned
  1062.           to that function, the number of keys is shown in the third
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.           column. Next, an asterisk [*] denotes that the function is
  1069.           external.
  1070.  
  1071.           External functions are separate AutoLISP routines that are not
  1072.           built in to the editor. You may assign external functions to keys
  1073.           also, after you have registered them with WCEdit [See the
  1074.           Programming appendix]. The last column shows a checkmark [√] next
  1075.           to functions that are displayed in the Command window.
  1076.  
  1077.     ╔═══════════════ Instructions ════════════════════════════ Meaning ══════════╗
  1078.     ║You may alter the key assigned to this action,│Number of keys assigned     ║
  1079.     ║delete the key match or add-remove this action└───────┐    * is external   ║
  1080.     ║from you Command pop up window accessed by <Ctrl-Alt>.└───┐ √ Is in Pop up ║
  1081.     ╠═══════════════ Description ══════════════ Assigned to Key ═══════════════╣
  1082.     ║Record and End record a key stroke macro.                F7                 ║
  1083.     ║Play back the current key stroke macro.                  Alt F7             ║
  1084.     ║Delete marked text or line to scrap                      Pad -              ║
  1085.     ║Re-highlights previous block                             Ctrl R             ║
  1086.     ║Reformat block into paragraph                            NOT ASSIGNED       ║
  1087.     ║Remove all trailing white space                          Ctrl T             ║
  1088.     ║Move to next word                                        Ctrl Right         ║
  1089.     ║Move to previous word                                    Ctrl Left          ║
  1090.     ║Write the current buffer to disk                         Alt W              ║
  1091.     ║Write file to ...                                        Ctrl W             ║
  1092.     ║Write all files to disk                                  Ctrl F1            ║
  1093.     ║Create/Load a new file                                   Alt E              ║
  1094.     ║Edit/Delete another buffer                               Alt B              ║
  1095.     ║Save-as and exit to AutoCAD                              Ctrl X             ║
  1096.     ║Quit to AutoCAD                                          Alt Q              ║
  1097.     ║Toggle to next buffer                                    Alt -              ║
  1098.     ║Toggle to next window                                    Alt T              ║
  1099.     ║Split the screen at center vertically                    Alt 1              ║
  1100.     ╚════════════════════════════════════════════════════════════════════════════╝
  1101.  
  1102.                                 Function Control Panel
  1103.  
  1104.  
  1105.  
  1106.           To change the key or Command window assignments for a function,
  1107.           pick it from the menu. You will see a menu with five actions from
  1108.           which to choose:
  1109.  
  1110.                                  ╔═══════ Key ══════╗
  1111.                                  ║ Overwrite pair   ║
  1112.                                  ║ Add another key  ║
  1113.                                  ║ Delete pair      ║
  1114.                                  ║ Edit description ║
  1115.                                  ║ toggle Pop up?   ║
  1116.                                  ╚═════ Escape ═════╝
  1117.           
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.           One, Overwrite pair will assign a new key to the function,
  1125.           deleting the old assignment. Two, Add another key will assign an
  1126.           additional key to the function. Three, Delete pair will remove
  1127.           all key assignments from that function. Four, Edit description
  1128.           will do just that. This description is displayed in the command
  1129.           window. And five, toggle Pop up will add or remove the function
  1130.           from the Command window.
  1131.  
  1132.           In case you've deleted references to functions, you are first
  1133.           asked if you would like to restore the deleted functions.
  1134.           Answering yes will restore all deleted functions.
  1135.  
  1136.           DEFAULT KEYS
  1137.           The functions assigned to the following key strokes and key
  1138.           combinations are the default WCEdit configuration. These
  1139.           functions may not be available if a different configuration is
  1140.           used. For configurement information see CONFIGURING WCEDIT on
  1141.           page 35.
  1142.  
  1143.           FUNDAMENTAL KEYS
  1144.           The Enter key moves the cursor to the first column of the next
  1145.           line down. If insert mode is off, a new line is not added. If
  1146.           insert is on, the line will be broken at the cursor position,
  1147.           moved down one line, and the cursor placed in the first column of
  1148.           the new line.
  1149.  
  1150.           The Tab key moves the cursor 5 characters [by default] to the
  1151.           right. If insert mode is on, spaces are inserted.
  1152.  
  1153.           View the help            F1
  1154.           Quit to AutoCAD          Alt-q
  1155.           Undo last command        Alt-u
  1156.           Set an undo mark         Ctrl-s
  1157.           Undo back                Ctrl-u
  1158.  
  1159.           CURSOR MOVEMENT
  1160.           Move to next word        Ctrl-right
  1161.           Move to previous word    Ctrl-left
  1162.           Beginning of line        Home
  1163.           Top of page              Home home
  1164.           Top of buffer            Home home home or Ctrl-home
  1165.           End of line              End
  1166.           Bottom of screen         End end
  1167.           Bottom of buffer         End end end or Ctrl-end
  1168.           Go to line #             Alt-g
  1169.  
  1170.  
  1171.           LINE EDITING
  1172.           Insert line above        Alt-enter
  1173.           the current position.
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.           Delete line              Alt-h
  1180.           Delete to end of line    Alt-k
  1181.  
  1182.  
  1183.           BLOCKING TEXT
  1184.           begin inclusive mark          F9
  1185.           begin line mark               Ctrl-f9
  1186.           begin column mark             Alt-f9
  1187.           [pressing any mark key will end the mark]
  1188.           Erase marks [unmark]          Ctrl-e
  1189.           Rehighlight previous block    Ctrl-r
  1190.           Copy block or current line    Ctrl-k
  1191.           to scrap buffer
  1192.           [overwrites]
  1193.           Cut block or current line     Keypad-minus [-]
  1194.           to scrap buffer
  1195.           [overwrites]
  1196.           View scrap buffer             Ctrl-v
  1197.           Insert scrap buffer           Alt-i
  1198.           Delete block                  Ctrl-d
  1199.           Delete block, fill w/space    Ctrl-f
  1200.           Move block [in same buffer]   Alt-m
  1201.  
  1202.  
  1203.           FILES
  1204.           Read in a file                Alt-r
  1205.           [appends to current]
  1206.           Edit new file                 Alt-e
  1207.           Write file                    Alt-w
  1208.           Write file to...              Ctrl-w
  1209.           Write and quit                Ctrl-x
  1210.           Write all files               Ctrl-f1
  1211.           Select buffer from list       Alt-b
  1212.           Rename buffer                 Ctrl-o
  1213.           View a file                   Alt-v
  1214.           Import AutoCAD text screen    Ctrl-i
  1215.           to scrap buffer
  1216.  
  1217.  
  1218.           SCREEN CONTROL
  1219.           Toggle to next window    Alt-n
  1220.           Switch to next buffer    Alt-dash [-]
  1221.             in current window
  1222.           Remove current buffer    Ctrl-dash [-]
  1223.           Split screen Vertical    Alt-1
  1224.             at cursor
  1225.           Split screen Horizontal  Alt-2
  1226.             at cursor
  1227.           Split screen Vertical    Alt-4
  1228.             at center
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.           Split screen Horizontal       Alt-5
  1235.             at center
  1236.           Zoom current window           Alt-z
  1237.  
  1238.  
  1239.           TEXT
  1240.           Paragraph reformat            Ctrl-z
  1241.           Find string                   F5
  1242.           Repeat find                   Alt-f5
  1243.           Find in all buffers           Ctrl-f5
  1244.           Find & replace                F6
  1245.           Repeat find & replace         Alt-f6
  1246.           Change the case of text       Ctrl-c
  1247.           Remove Trailing white space   Ctrl-t
  1248.  
  1249.  
  1250.           PROGRAMMING
  1251.           Paint parenthesis [temporary] F2
  1252.           Single bracket/quote          F3
  1253.             comparison [Place the cursor
  1254.             on a parenthesis or double
  1255.             quote before using F3]
  1256.           Multiple bracket/quote        F4
  1257.             comparison
  1258.           Begin or end a macro record   F7
  1259.           Playback current macro        Alt-f7
  1260.           Select command from list      F10
  1261.             of external commands
  1262.  
  1263.           Run non-registered AutoLISP   Alt-f1
  1264.           Pretty print LISP data        Ctrl-p
  1265.           Insert column of numbers      Ctrl-n
  1266.  
  1267.           The next option on the commands menu is Reset defaults. This will
  1268.           reset everything configurable in WCEDit: colors, variables, key
  1269.           assignments, screen resolution, etc. You will be prompted for a
  1270.           yes or no before resetting.
  1271.  
  1272.  
  1273.           Once you have adjusted WCEdit the way you like, the Write config
  1274.           file option will create a configuration file, including colors,
  1275.           variables, and key/function assignments. This file will normally
  1276.           be written in the directory where WCEDIT.EXP is stored. The
  1277.           exception is when the DOS variable WCEDIT is set to another
  1278.           directory [WCEDIT=x:\mydir]. See Installing WCEdit for a
  1279.           description of the WCEDIT variable. WCEdit can be set to save
  1280.           configuration changes automatically through Config auto save on
  1281.           the Variable control panel.
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.           Selecting Help will pop up the Help window, just as the F1 key
  1290.           does.
  1291.  
  1292.  
  1293.  
  1294.           LANGUAGE
  1295.  
  1296.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1297.                     ┌──────────────────────┐                                     ║
  1298.    ░                 │Color mode toggle     │                                     ║
  1299.    ░                 │Reformat file <Lisp>  │                                     ║
  1300.    ░                 │Match parenthesis     │                                     ║
  1301.    ░                 │check all Parenthesis │                                     ║
  1302.    ░                 │list Selected entities│                                     ║
  1303.    ░                 │ascii cHart           │                                     ║
  1304.    ░                 │calculaTor            │                                     ║
  1305.    ░                 │run AutoLISP function │                                     ║
  1306.    ░                 └──────── Elsa ────────┘                                     ║
  1307.  
  1308.  
  1309.  
  1310.           The Language menu offers features for enhanced AutoLISP
  1311.           programming. Many of these functions are helpful for C
  1312.           programming also.
  1313.  
  1314.  
  1315.           Color mode toggle is for viewing and editing AutoLISP code. It
  1316.           will change the display from the default colors to a black
  1317.           background with color coded parenthesis.  The text inside quotes
  1318.           [""] will be shown in grey. This is extremely useful for finding
  1319.           misplaced parenthesis and quotes. After using the function
  1320.           several times, the mis-colored code caused by a mistake will
  1321.           stick out like an elephant in a strawberry patch. The contents of
  1322.           each level of parenthesis may be colored also, by changing "Full
  1323.           color on color mode" on the Variables control panel.
  1324.  
  1325.  
  1326.           Reformat file <Lisp> will pretty print your AutoLISP code. Each
  1327.           line will be indented based on the level of parenthesis. The
  1328.           amount of indent is controlled by the tab width, which you can
  1329.           set on the Variables control panel. This feature is also useful
  1330.           for finding errors in your code.
  1331.  
  1332.  
  1333.           Match parenthesis is used by placing the cursor on a parenthesis,
  1334.           then selecting this option. The cursor will be moved to the
  1335.           corresponding open or close parenthesis. Running the function
  1336.           again should return you to your original position. You can cause
  1337.           WCEdit to ignore parentheses inside comments [;] by changing
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.           "Comments considered in bracket test" on the Variables control
  1344.           panel.
  1345.  
  1346.  
  1347.           check all Parentheses performs similar to Match parenthesis, but
  1348.           the entire buffer is checked for matching pairs of parenthesis.
  1349.           WCEdit will stop checking at the first error it finds, which
  1350.           should be near your mistake. You will be told if all pairs match.
  1351.  
  1352.  
  1353.           list Selected entities is similar to the AutoCAD List command,
  1354.           however, the entities are listed in AutoLISP [or DXF] format for
  1355.           programming purposes. After selecting this option, you will see
  1356.           the AutoCAD editing screen and the Select objects prompt.
  1357.  
  1358.           The entity list will be displayed for viewing in the WCEdit scrap
  1359.           buffer window. If you wish to edit the list, you may insert the
  1360.           scrap buffer into the buffer you are editing [with "Paste in the
  1361.           scrap buffer" from the command window or using Alt-i]. Here is a
  1362.           sample listing of a circle:
  1363.  
  1364.           ─────────────────────────────────────────────── Item #0
  1365.           (-1 . <Entity name: 6000001a>)
  1366.           (0 . "CIRCLE")
  1367.           (8 . "0")
  1368.           (10 . 7.000000 11.000000 0.000000)
  1369.           (40 . 3.141593)
  1370.           (210 . 0.000000 0.000000 1.000000)
  1371.  
  1372.                                        END LIST
  1373.  
  1374.                                       Entity list
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.    ╔══════════════════════════════════════════════════════════════════════════════╗
  1385.    ║  1    2    3    4    5    6    7    8    9 °  10    11    12    13  ║
  1386.    ║ 14   15   16   17   18   19   20   21   22   23   24   25   26 ■ ║
  1387.    ║ 27   28   29   30   31   32    33 !  34 "  35 #  36 $  37 %  38 &  39 ' ║
  1388.    ║ 40 (  41 )  42 *  43 +  44 ,  45 -  46 .  47 /  48 0  49 1  50 2  51 3  52 4 ║
  1389.    ║ 53 5  54 6  55 7  56 8  57 9  58 :  59 ;  60 <  61 =  62 >  63 ?  64 @  65 A ║
  1390.    ║ 66 B  67 C  68 D  69 E  70 F  71 G  72 H  73 I  74 J  75 K  76 L  77 M  78 N ║
  1391.    ║ 79 O  80 P  81 Q  82 R  83 S  84 T  85 U  86 V  87 W  88 X  89 Y  90 Z  91 [ ║
  1392.    ║ 92 \  93 ]  94 ^  95 _  96 `  97 a  98 b  99 c 100 d 101 e 102 f 103 g 104 h ║
  1393.    ║105 i 106 j 107 k 108 l 109 m 110 n 111 o 112 p 113 q 114 r 115 s 116 t 117 u ║
  1394.    ║118 v 119 w 120 x 121 y 122 z 123 { 124 | 125 } 126 ~ 127  128 Ç 129 ü 130 é ║
  1395.    ║131 â 132 ä 133 à 134 å 135 ç 136 ê 137 ë 138 è 139 ï 140 î 141 ì 142 Ä 143 Å ║
  1396.    ║144 É 145 æ 146 Æ 147 ô 148 ö 149 ò 150 û 151 ù 152 ÿ 153 Ö 154 Ü 155 ¢ 156 £ ║
  1397.    ║157 ¥ 158 ₧ 159 ƒ 160 á 161 í 162 ó 163 ú 164 ñ 165 Ñ 166 ª 167 º 168 ¿ 169 ⌐ ║
  1398.    ║170 ¬ 171 ½ 172 ¼ 173 ¡ 174 « 175 » 176 ░ 177 ▒ 178 ▓ 179 │ 180 ┤ 181 ╡ 182 ╢ ║
  1399.    ║183 ╖ 184 ╕ 185 ╣ 186 ║ 187 ╗ 188 ╝ 189 ╜ 190 ╛ 191 ┐ 192 └ 193 ┴ 194 ┬ 195 ├ ║
  1400.    ║196 ─ 197 ┼ 198 ╞ 199 ╟ 200 ╚ 201 ╔ 202 ╩ 203 ╦ 204 ╠ 205 ═ 206 ╬ 207 ╧ 208 ╨ ║
  1401.    ║209 ╤ 210 ╥ 211 ╙ 212 ╘ 213 ╒ 214 ╓ 215 ╫ 216 ╪ 217 ┘ 218 ┌ 219 █ 220 ▄ 221 ▌ ║
  1402.    ║222 ▐ 223 ▀ 224 α 225 ß 226 Γ 227 π 228 Σ 229 σ 230 µ 231 τ 232 Φ 233 Θ 234 Ω ║
  1403.    ║235 δ 236 ∞ 237 φ 238 ε 239 ∩ 240 ≡ 241 ± 242 ≥ 243 ≤ 244 ⌠ 245 ⌡ 246 ÷ 247 ≈ ║
  1404.    ║248 ° 249 ∙ 250 · 251 √ 252 ⁿ 253 ² 254 ■ 255                                 ║
  1405.    ╚═══════════════════════════════ Escape cancels ═══════════════════════════════╝
  1406.  
  1407.  
  1408.                                      ASCII chart
  1409.  
  1410.           Selecting ascii cHart pops up a window containing the extended
  1411.           ASCII character set. Both the character number and the character
  1412.           are displayed. Selecting a character will insert that character
  1413.           at the cursor position.  You may need to delete the first 27
  1414.           characters from this chart for printing purposes.
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.             ╔══════════════════════════════════════╤════ Variables ═════╗
  1425.             ║Result Decimal: 2                     │r 5                 ║
  1426.             ║Result Hex    : 0x2                   │a 78.53981634       ║
  1427.             ║──────────────────────────────────────┤v 392.6990817       ║
  1428.             ║r=5·                                  │wcedit 2            ║
  1429.             ║a=pi*r^2·                             │                    ║
  1430.             ║v=pi*r^3·                             │                    ║
  1431.             ║wcedit=2                              │                    ║
  1432.             ║                                      │                    ║
  1433.             ║                                      │                    ║
  1434.             ║                                      │                    ║
  1435.             ║                                      │                    ║
  1436.             ║                                      │                    ║
  1437.             ║                                      │                    ║
  1438.             ║                                      │                    ║
  1439.             ║                                      │                    ║
  1440.             ╚══ Enter key evaluates expression ════╧════════════════════╝
  1441.  
  1442.             ╔════════════════ F2 Resets the calculator ═════════════════╗
  1443.             ║Operators are: =  + -  * / % ^ sin cos tan atan ln exp  pi ║
  1444.             ║Variables may be set at any time.  Each line is  evaluated ║
  1445.             ║upon the striking the ENTER key.                           ║
  1446.             ╚═════════════════════ Escape to exit ══════════════════════╝
  1447.  
  1448.  
  1449.                                     The Calculator
  1450.  
  1451.  
  1452.           The calculaTor option pops up a decimal/hexadecimal calculator.
  1453.           This calculator supports multiple equations, and the use of
  1454.           variables anywhere in those equations. All supported functions
  1455.           are listed at the bottom of the calculator. For example:
  1456.           r = 10.3
  1457.           x = sin(60 / 180 * pi)
  1458.           y = r*x
  1459.           When you press Enter, the equation and variables are evaluated,
  1460.           and the value of the line displayed at the top in both decimal
  1461.           and hexadecimal. On the right side, the values of any variables
  1462.           are displayed. If you set more variables than fit in the window,
  1463.           you may tab over to the variable window and scroll through them.
  1464.  
  1465.           To evaluate (run) an AutoLISP function, select the run AutoLISP
  1466.           function  option. Enter the function name in the box provided.
  1467.           Either of these examples would be valid: ssx, wc_shave, c:tag
  1468.           This is a handy way to test a function you a writing, without
  1469.           exiting the editor. If the function run without an error, you
  1470.           will return to the editor.
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.           OPTIONS
  1479.  
  1480.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1481.                                    ┌───────────────┐                             ║
  1482.    ░                                │Low resolution │                             ║
  1483.    ░                                │High resolution│                             ║
  1484.    ░                                │Colors         │                             ║
  1485.    ░                                │Mouse          │                             ║
  1486.    ░                                └──── Elsa ─────┘                             ║
  1487.  
  1488.  
  1489.  
  1490.  
  1491.           The first two selections on the options menu are Low resolution
  1492.           and High resolution. They work only with EGA/VGA video systems,
  1493.           changing the number of lines on the screen to 25 or 43/50.
  1494.  
  1495.  
  1496.           The Colors option brings up the Color control panel. Two colors
  1497.           sets are configurable from the control panel. The editor colors
  1498.           are the colors with which text editing windows are displayed. The
  1499.           pull down colors are the colors used for ALL windows which are
  1500.           displayed on top of the editor windows, in contrast to the
  1501.           editor.
  1502.  
  1503.                                            
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.           The Color control panel presents a sample of editor screen
  1510.           components on the right, and a palette of colors to choose for
  1511.           each component in the upper left corner. The names of each
  1512.           component are on the lower left.
  1513.  
  1514.           You may move the arrows pointing to the names and colors with
  1515.           either the cursor movement keys or mouse pointer. Move up and
  1516.           down to select a component. Move left and right to select a color
  1517.           for that component. The colors selected are shown in the examples
  1518.           on the right. Some background colors will cause the display to
  1519.           blink. This can be disabled with F2. You may exit without saving
  1520.           any changes, if you like.
  1521.  
  1522.  
  1523.           Selecting Mouse lets you enable or disable mouse support in
  1524.           WCEdit.
  1525.  
  1526.  
  1527.           DWGTEXT
  1528.  
  1529.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1530.                                               ┌───────────────┐                  ║
  1531.    ░                                           │Paste          │                  ║
  1532.    ░                                           │Get text       │                  ║
  1533.    ░                                           │Update         │                  ║
  1534.    ░                                           │Change style   │                  ║
  1535.    ░                                           │Text mode      │                  ║
  1536.    ░                                           └──── Elsa ─────┘                  ║
  1537.  
  1538.  
  1539.  
  1540.           The Dwgtext menu give you access to text and attribute entities
  1541.           in your AutoCAD drawing from WCEdit. Text can be edited in a
  1542.           paragraph format instead of one line at a time. Style and
  1543.           justification can also be changed from the editor.
  1544.  
  1545.           Paste will put the text from the current buffer into your
  1546.           drawing. If text is marked in the buffer, the marked portion will
  1547.           be inserted. Otherwise the entire buffer will be inserted. Using
  1548.           the current style and layer, WCEdit will prompt you for the
  1549.           insertion point and the rotation angle.
  1550.  
  1551.  
  1552.           Get text will put text from your drawing into the editor. The
  1553.           following prompt will be displayed in the drawing editor:
  1554.  
  1555.           All/Select/Text only/Blocks-attributes only <All>:
  1556.  
  1557.           Use  A to select all of the text and attributes,
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.                 S to select text using any options available at the Select
  1564.                objects prompt,
  1565.                T to select all of the text in the drawing, and
  1566.                B to select all of the blocks/attributes.
  1567.  
  1568.           The selected text will be brought into a new buffer called
  1569.           AUTOCAD.TXT, replacing that buffer if it already exists. You may
  1570.           then edit the text using any WCEdit features.
  1571.  
  1572.  
  1573.           After editing text that was retrieved from the drawing, the
  1574.           Update option will update the drawing entities to reflect those
  1575.           changes. The drawing entities will not be changed until you use
  1576.           this option. If text was not originally retrieved from the
  1577.           drawing, use the paste function discussed above.
  1578.  
  1579.  
  1580.           Choose Change style to change the current style.  The settings of
  1581.           the current style are shown on this control panel:
  1582.  
  1583.                               ╔════════════════════════╗
  1584.                               ║  F10 to accept entries ║
  1585.                               ║Use TAB to access styles║
  1586.                               ╚════════════════════════╝
  1587.  
  1588.                                 ╔═══════════════════╗
  1589.                                 ║Style:   18        ║
  1590.                                 ║Font file: ROMANS  ║
  1591.                                 ║Height: 0.125      ║
  1592.                                 ║Oblique: 0         ║
  1593.                                 ║Width: 0.8         ║
  1594.                                 ║Backwards? N       ║
  1595.                                 ║Upsidedown? N      ║
  1596.                                 ╚═══════════════════╝
  1597.  
  1598.                                  Style control panel
  1599.  
  1600.           Select any component of the style to change it and redefine the
  1601.           current style. To switch the current style to another style,
  1602.           press Tab, and the names of all of the defined styles will be
  1603.           offered in the Style menu. Choosing one from the list will make
  1604.           it the current style.
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.                                  ╔════ SELECT ═════╗
  1612.                                  ║116              ║
  1613.                                  ║14               ║
  1614.                                  ║18               ║
  1615.                                  ║316              ║
  1616.                                  ║332              ║
  1617.                                  ║564              ║
  1618.                                  ║OPEN             ║
  1619.                                  ║SOLID            ║
  1620.                                  ║STANDARD         ║
  1621.                                  ╚═════════════════╝
  1622.  
  1623.                                       Style menu
  1624.  
  1625.  
  1626.           To round out your control over drawing text, the Text mode option
  1627.           lets you set the justification for the Update and Paste
  1628.           functions. Select a mode offered on the menu:
  1629.                                       ┌───────┐
  1630.                                       │Left   │
  1631.                                       │Right  │
  1632.                                       │Center │
  1633.                                       │Middle │
  1634.                                       │Fit    │
  1635.                                       │Aligned│
  1636.                                       └───────┘
  1637.                                       Text mode
  1638.  
  1639.  
  1640.  
  1641.  
  1642.           SPELL
  1643.  
  1644.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1645.                                                          ┌──────────────┐        ║
  1646.    ░                                                      │Spell file    │        ║
  1647.    ░                                                      │spell Word    │        ║
  1648.    ░                                                      │spell Drawing │        ║
  1649.    ░                                                      │spell Reset   │        ║
  1650.    ░                                                      └──── Elsa ────┘        ║
  1651.  
  1652.  
  1653.  
  1654.           The Spell menu gives you the power to check the spelling of the
  1655.           current buffer, the word at the cursor, or the text and
  1656.           attributes of your drawing. Choosing to spell check your drawing
  1657.           will give you the same selection options as Get text on the
  1658.           Dwgtext menu. No matter what the origin of the text, spell
  1659.           checking will occur with a window like this:
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1667.    ░Cement Content:  5 bags per cubic yard of concrete, minimum.                  ║
  1668.    1.0                                                                           ║
  1669.    ░GENERAL:                                                                      ║
  1670.    ░Except for those specified, no admixtures will be permitted                   ║
  1671.    ░Standards:  Comply with recommendations of National Concrete                  ║
  1672.    ░as used in shop.  Use galvanizing repair on damaged galvanized                ║
  1673.    ░Masonry Association (NCMA).                                                   ║
  1674.    ░unless approved by the owner's representative.                                ║
  1675.    ░3.0                                                                           ║
  1676.    ░1.1                                                                           ║
  1677.    ░                                                                              ║
  1678.    ░       ╔══════════════════════════════════════════════════════════════╗       ║
  1679.    ░       ║Current Word: admixtures                  admitters           ║       ║
  1680.    ░       ╟──────────────────────────────────────────────────────────────╢       ║
  1681.    ░       ║admitters            adventures           adventuress         ║       ║
  1682.    ░       ║adventurer           adventurers          adventureship       ║       ║
  1683.    ░       ║adventuresome        adventuresses        adventurish         ║       ║
  1684.    ░       ║adventurism          admissions           admissive           ║       ║
  1685.    ░       ╟──────────────────────────────────────────────────────────────╢       ║
  1686.    ░       ║ Add     Ignore    Type     Exit  ==>                         ║       ║
  1687.    ░       ╚══════════════════════════════════════════════════════════════╝       ║
  1688.    ░                                                                              ║
  1689.    ╚══════════════════════════════════════════════════════════════════════════════╝
  1690.     Checking...                                       Line 20     Col 1    │#│ │
  1691.                                           │¢
  1692.  
  1693.  
  1694.                                   Spell Check window
  1695.  
  1696.  
  1697.           The spell checker will stop when it finds a word not in the
  1698.           dictionaries [See the WCEdit Files appendix]. The misspelled word
  1699.           is shown in the Spell Check window at Current Word:.  A list of
  1700.           possible words is shown, and the closest word found is shown next
  1701.           to the Current Word. Press Enter to replace the Current Word with
  1702.           the word suggested and continue the spell check. You may also
  1703.           pick another word from the list.
  1704.  
  1705.           If the Current Word is correct, you may choose Add to add it to
  1706.           the dictionary, or Ignore to skip this word. By replacing or
  1707.           ignoring a word, you choose to do so for the remainder of the
  1708.           Spell Check. Picking Type will let you type in the replacement
  1709.           word, and Exit will cancel the Spell Check.
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.           SUPPORT
  1718.  
  1719.    ╔═══ Files ══ Commands ══ Language ══ Options ══ Dwgtext ══ Spell ══ supporT ══╗
  1720.                                                            ┌────────────────────┐║
  1721.    ░                                                        │ supporT            │║
  1722.    ░                                                        │ Register           │║
  1723.    ░                                                        │ accelerator Boards │║
  1724.    ░                                                        │ Questions/answers  │║
  1725.    ░                                                        └─────── Elsa ───────┘║
  1726.  
  1727.  
  1728.           Looking for support for your registered copy of WCEdit?
  1729.           Wondering how to register this amazing shareware?  Need specs on
  1730.           the hottest graphics accelerator board available?  Puzzled by all
  1731.           the jargon surrounding state-of-the-art video these days?  Look
  1732.           no further. The supporT menu has the answers to all of these
  1733.           enigmas.
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.           APPENDIX A - CONFIGURING WCEDIT
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.           CONFIGURATION FILES
  1750.  
  1751.           The initial state of the editing environment can be established
  1752.           in the configuration file. Screen colors, margins, and other
  1753.           variables may be preset. Individual keys and key combinations may
  1754.           be associated with commands, or in other words, functions may be
  1755.           assigned to keystrokes. Keys may be associated with trigger
  1756.           functions or to external user-written AutoLISP routines [see
  1757.           WCEDIT.LSP and WCFUNCS.LSP]. External functions are also made
  1758.           available on a menu inside the editor, accessed via the trigger
  1759.           function "SELECT_COMMAND" [F10 by default].
  1760.  
  1761.           While several keys may be assigned to the same function, the
  1762.           inverse is not true; You may not assign a key to more than one
  1763.           function. See  WCCONFIG in this section for information on
  1764.           assigning functions to keys.
  1765.  
  1766.           A configuration file typically includes the following WCEdit
  1767.           commands:
  1768.  
  1769.  
  1770.  
  1771.           WC_COLORS
  1772.  
  1773.           ( WC_COLORS( text   background   border_back  border_text
  1774.           highlight_text  highlight_back  white_space ))
  1775.  
  1776.           WC_COLORS uses ANSI color codes [integers] as arguments. Using
  1777.           unique colors for various applications adds variety and helps
  1778.           users identify which function they are in [try that with a
  1779.           dialogue box]. The default colors are shown in WCFUNCS.LSP. The
  1780.           ANSI color codes are as follows:
  1781.  
  1782.           0  BLACK
  1783.           1  BLUE
  1784.           2  GREEN
  1785.           3  CYAN
  1786.           4  RED
  1787.           5  MAGENTA
  1788.           6  BROWN
  1789.           7  LIGHTGRAY
  1790.           8  DARKGRAY
  1791.           9  LIGHTBLUE
  1792.           10 LIGHTGREEN
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.           11 LIGHTCYAN
  1799.           12 LIGHTRED
  1800.           13 LIGHTMAGENTA
  1801.           14 YELLOW
  1802.           15 WHITE
  1803.  
  1804.           See the RE_COLOR function in WCFUNCS.LSP for some examples.
  1805.  
  1806.  
  1807.  
  1808.           WC_HELP_FILE
  1809.  
  1810.           ( WC_HELP_FILE "filespec" )
  1811.           Loads file given for use in help window. Filespec can include
  1812.           drive, path, and filename.
  1813.  
  1814.  
  1815.  
  1816.           WC_SETVAR & WC_TOGGLE
  1817.  
  1818.           ( WC_TOGGLE "variable" ) and ( WC_SETVAR "variable" int )
  1819.  
  1820.           Several modes may be controlled in the editor by setting WCEdit
  1821.           internal variables. They may be set discretely with the WC_SETVAR
  1822.           function, or toggled using the WC_TOGGLE command.
  1823.  
  1824.           For example, ( WC_SETVAR "WHITE_ON" 0) would turn off white space
  1825.           highlighting, and ( WC_TOGGLE "INSERT_MODE") would change the
  1826.           insert mode to it's opposite state.
  1827.  
  1828.  
  1829.  
  1830.           WCEDIT VARIABLES
  1831.  
  1832.           These are the WCEdit variable names, their default value, and a
  1833.           description of what they control:
  1834.  
  1835.  
  1836.           ACONFIG 1
  1837.           When ON, all changes in configuration, such as variables, colors,
  1838.           resolutions etc., are saved when the program unloaded. If the
  1839.           variable is OFF, changes to the configuration file may only be
  1840.           performed by explicitly writing them out under the option 'Write
  1841.           config file' available from the pull-down menus.
  1842.  
  1843.  
  1844.           AUTO_INDENT 0
  1845.           Turns automatic indentation on. Uses LMARGIN or beginning column
  1846.           of previous line to calculate indention for a new line.
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.           BOOKIND 5
  1855.           The first line of a paragraph will be indented this many
  1856.           characters when performing paragraph reformats. Setting it to 1
  1857.           will prevent indenting.
  1858.  
  1859.  
  1860.           BSPACE_WRAP 1
  1861.           Causes the backspace key to 'wrap' up to the previous line when
  1862.           at column 1.
  1863.  
  1864.  
  1865.           COMMENTS 1
  1866.           Parentheses inside AutoLISP comments [;like (this)] are
  1867.           disregarded during parentheses checking. When turned off, comment
  1868.           checking is only performed when checking forwards in a buffer.
  1869.  
  1870.  
  1871.           DOUBLEKEY 0
  1872.           Causes the key strokes Ctrl-q, Ctrl-o, & Ctrl-k  to wait for an
  1873.           additional key stroke to entered. You may use this variable to
  1874.           create a WordStar compatible key stroke layout.
  1875.  
  1876.  
  1877.           FULLVIEW 1
  1878.           Expands the filename to full filespec in the Files Select window.
  1879.  
  1880.  
  1881.           INSERT_MODE 0
  1882.           Sets the insert mode on. The cursor will show the current mode.
  1883.           See the variable RCURSOR.
  1884.  
  1885.  
  1886.           KCHAIN 0
  1887.           Kills the undo list at every save function.
  1888.  
  1889.  
  1890.           LMARGIN 0
  1891.           Sets the left margin for use in word wrapping, paragraph
  1892.           reforming, AutoLISP reforming and auto-indentation.
  1893.  
  1894.  
  1895.           MSSPEED 1
  1896.           Sets the speed at which scrolling occurs with the mouse in use. 0
  1897.           slowest - 5 fastest.
  1898.  
  1899.  
  1900.           NEXTFILE 0
  1901.           Causes the find and replace function to jump to next file
  1902.           automatically.
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.           NORTON 0
  1911.           Causes the key strokes F4, F5, F6, & F7 to wait for an additional
  1912.           key stroke to entered. You may use this variable to create a
  1913.           Norton compatible key stroke layout.
  1914.  
  1915.  
  1916.           PAINT 0
  1917.           Colors contents of parentheses levels to be colored in addition
  1918.           to parentheses.
  1919.  
  1920.  
  1921.           PRELOAD 0
  1922.           Preloads the dictionary before performing a spell check, instead
  1923.           of as-needed.
  1924.  
  1925.  
  1926.           QOPEN
  1927.           Quiets the 'percent loaded' display when files which were
  1928.           previously loaded (SEE WCEDIT.STS) are automatically reloaded
  1929.           into the editor at startup.
  1930.  
  1931.  
  1932.           RCURSOR 0
  1933.           Turning this on will reverse the size of the cursor indicating
  1934.           the insert mode; Insert will be small, and typeover will be
  1935.           large.
  1936.  
  1937.  
  1938.           RMARGIN 80
  1939.           Sets the right margin for use in word wrapping, paragraph
  1940.           reformatting, and right justification.
  1941.  
  1942.  
  1943.           SHOWEND 0
  1944.           When this variable is set to an ascii value of 1 to 255, that
  1945.           ascii value is used to show where the actual end of line is. A
  1946.           value of 250 is a favorite ascii character.
  1947.  
  1948.  
  1949.           SMART_DELKEY 1
  1950.           Deletes block, or deletes character if no marks are set. When set
  1951.           to 0, only deletes current character. Note: With this variable
  1952.           on, deleted marked text is NOT copied to the scrap buffer. See
  1953.           function BCUT.
  1954.  
  1955.  
  1956.           TABWIDTH 5
  1957.           Sets a fixed tab width for the Editor. This width is also used to
  1958.           replace tabs in files being loaded into WCEdit and for pretty
  1959.           printing.
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.           TOCASE 0
  1968.           Controls case sensitivity in find / find and replace functions.
  1969.  
  1970.  
  1971.           WORDWRAP 1
  1972.           Turns on word wrapping. When typing past the right margin, the
  1973.           cursor and any truncated words are moved down to following line.
  1974.  
  1975.  
  1976.           WCCONFIG
  1977.  
  1978.           ( WCCONFIG "function_name" key_code_as_real <"description"> )
  1979.  
  1980.           This is the primary function used in configuring the editor.
  1981.           WCCONFIG declares a function with WCEdit and associates a
  1982.           keystroke [literally an ascii-scancode] with that function. You
  1983.           may add a function 'on the fly' with the AutoLISP program
  1984.           ADD_NAME which is accessible from the Command Menu [F10] or with
  1985.           F8. The first parameter to the function is a string representing
  1986.           the name of the function you wish to use. If the function is one
  1987.           of the internal functions [trigger commands] then that command
  1988.           will be executed each time the key represented by key_code is
  1989.           entered.
  1990.  
  1991.           For example: The code for the F5 key is 16128. If you wanted to
  1992.           assign the internal command "FIND" to this key you would place:
  1993.           (wcconfig "FIND" 16128.0 ) in the file WCCONF.LSP. Notice the key
  1994.           code is passed to WCEdit as a real. This is because of an ADS
  1995.           limitation on long integers. Reals will be required in future
  1996.           versions of WCEdit. You must also be sure that no other
  1997.           definition in the file also contains this code [16128] since only
  1998.           the last definition will be used in configuration.
  1999.  
  2000.           If the value of code is 0 [ ( WCCONFIG "" 0 ) ] then all
  2001.           previously defined definitions to keys will be removed, and the
  2002.           defaults put in place. This is not normally needed since key
  2003.           definitions are overwritten each time a key code that was
  2004.           previously defined is reentered. There is also a second special
  2005.           case of in which the string passed is "" [nothing in it]. This
  2006.           will remove only the declaration of that key from the list.
  2007.  
  2008.           For example: Suppose you had defined the 'a' key to be some
  2009.           function, say "FIND_AND_R", and you wished to redefine the key to
  2010.           it's original status. Entering (wcconfig "" 7777.0) at the
  2011.           AutoCAD command prompt, or through the EVAL_FUNC AutoLISP
  2012.           function
  2013.           available through the command window [F10 - See below], would
  2014.           return that key to it's standard definition.
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.           The WCEdit functions are described in detail in the next section,
  2022.           PROGRAMMING.
  2023.  
  2024.           "Function_name" is the name of an WCEdit trigger function or a
  2025.           user defined external function. WCEdit executes functions by
  2026.           evaluating the name passed into WCEdit as "Function_name" when
  2027.           the function was defined. Trigger functions are executed by the
  2028.           editor. External functions are returned, in a list, back to the
  2029.           routine that called WCEdit. The AutoLISP function that called
  2030.           WCEdit then handles the call. For example, when C:WC receives a
  2031.           list from WCEdit, it calls the PROCESS function, passing it a
  2032.           list of ( scan_code "function_name"). PROCESS then performs an
  2033.           EVAL on the "function_name" and control is then returned to C:WC,
  2034.           which calls the editor again. The "function_name" could be
  2035.           handled by other methods also. The drawing file WCFLOW.DWG
  2036.           contains a flow chart that will help you visualize this
  2037.           procedure. See WC.LSP and WCFUNCS.LSP for examples, and WCEdit
  2038.           TRIGGERS on the next page.
  2039.  
  2040.           Key_code is the scancode for the desired key. For example, the
  2041.           scancode for the Ctrl-Enter key combination is 7178. Use the
  2042.           supplied AutoLISP routine, GETCODE, to easily acquire the
  2043.           scancode for keys and type them into your file for you. See
  2044.           WC.LSP for further examples. You will notice that several
  2045.           functions are set the fictitious scancode, 1. This allows you
  2046.           declare functions with the editor, without assigning a keystroke
  2047.           to them. These functions may still be called via the
  2048.           SELECT_COMMAND function.
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.           APPENDIX B - PROGRAMMING WCEDIT
  2056.  
  2057.  
  2058.           Having "an editor in AutoCAD, and AutoCAD in your editor," means
  2059.           that you can call AutoCAD functions from inside WCEdit, and
  2060.           WCEdit functions from AutoCAD. Both via AutoLISP. This allows you
  2061.           to write WCEdit 'macros,' using AutoLISP, that execute both
  2062.           WCEdit and AutoCAD functions. WCEdit also gives you hooks for
  2063.           using windows to prompt users for information and display
  2064.           messages.
  2065.  
  2066.           You need not be in WCEdit to call most of it's functions, in the
  2067.           same way that many AutoCAD functions work from the text screen.
  2068.           But WCEdit maintains the current working position, and responds
  2069.           appropriately. Therefore:
  2070.  
  2071.           1. Both programs have functions that implicitly redraw or refresh
  2072.           the screen.
  2073.  
  2074.           2. Just as the AutoCAD graphics screen does not always reflect
  2075.           the current state of the drawing database, the WCEdit screen may
  2076.           not show your changes until a WC_REFRESH is called.
  2077.  
  2078.            WCEdit returns one of 3 possibilities: A list of the scan code
  2079.           and function name; A string of the file name [for loading
  2080.           purposes]; or nil.
  2081.           If WCEdit is called with a parameter, WCEdit will assume that
  2082.           this is an error message and will display it as such. For
  2083.           instance, ( WCEDIT "File not found!" ) would display a window
  2084.           containing the string "File not found!". See WC.LSP for
  2085.           programming examples.
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.           TRIGGER FUNCTIONS
  2097.  
  2098.           Trigger functions are WCEDit commands that may be assigned to a
  2099.           key[s] using WCCONFIG or the Function Control Panel. Each command
  2100.           has three associated parts:
  2101.  
  2102.           1) A description string for the command, which may be changed.
  2103.           2) A default key stroke assignment for the command, which may be
  2104.              changed. See DEFAULT KEYS, page 22, for a listing.
  2105.           3)     The name of the function, which may not be changed. This
  2106.                  trigger word is designed so that the description for the
  2107.                  command may be altered, but the command itself may always
  2108.                  be identified by this name. All AutoLISP access to
  2109.                  commands are by this trigger string.
  2110.  
  2111.           Functions are listed with the type of argument required as:
  2112.           FUNCTION argument
  2113.           The description of each function, and explanation,  and, if
  2114.           necessary, examples are supplied. Unless specifically noted, the
  2115.           functions will return nothing of interest.
  2116.  
  2117.  
  2118.  
  2119.           CURSOR MOVEMENT
  2120.  
  2121.           ENDOFFILE"                                        To end of file"
  2122.           Moves position to end of last line of buffer.
  2123.  
  2124.  
  2125.           GOTOL                                                 "Goto line"
  2126.           Prompts the user for a line number to go to.
  2127.  
  2128.  
  2129.           NEXT_WORD                                     "Move to next word"
  2130.           Advances position to next word.
  2131.  
  2132.  
  2133.           PREV_WORD                                 "Move to previous word"
  2134.           Retreats position to previous word.
  2135.  
  2136.  
  2137.           TOPOFFILE                                        "To top of file"
  2138.           Moves position to column 1, line 1 of buffer.
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.           EDITING FUNCTIONS
  2148.  
  2149.  
  2150.           CENTER_LINE                                 "Center current line"
  2151.           Centers text of current line between margins.
  2152.  
  2153.  
  2154.           CLEAN_ALL_WHITE                 "Remove all trailing white space"
  2155.           Removes all trailing spaces from the entire file.
  2156.  
  2157.  
  2158.           DEL_FILLED                     "Delete block and fill with space"
  2159.           Delete block and fill with space.
  2160.  
  2161.  
  2162.           DELETE_LINE                                    "Delete this line"
  2163.           Deletes the current line.
  2164.  
  2165.  
  2166.           DELETE_TO_BEG                       "Delete to beginning of line"
  2167.           Deletes everything to the left of the cursor position. Cursor
  2168.           position is left untouched.
  2169.  
  2170.  
  2171.           DELETE_TO_END                             "Delete to end of line"
  2172.           Deletes from current position to the end of line.
  2173.  
  2174.  
  2175.           DOBACKSPACE                               "Do standard backspace"
  2176.           Performs a standard backspace function. This may be assigned to
  2177.           any key, for emulating other editors.
  2178.  
  2179.  
  2180.           DOENTER                                       "Do standard enter"
  2181.           Performs a standard enter function. This may be assigned to any
  2182.           key, for emulating other editors.
  2183.  
  2184.  
  2185.           DOINSERT                                     "Toggle insert mode"
  2186.           Toggles the mode of character insertion from overstrike to insert
  2187.           and vice versa.
  2188.  
  2189.  
  2190.           DOPGDN                                    "Do standard page down"
  2191.           Performs a standard page down function. This may be assigned to
  2192.           any key, for emulating other editors.
  2193.  
  2194.  
  2195.           DOPGUP                                      "Do standard page up"
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.           Performs a standard page up function. This may be assigned to any
  2202.           key, for emulating other editors.
  2203.  
  2204.  
  2205.           DOTABKEY                                    "Do standard tab key"
  2206.           Performs a standard WCEdit tab function [inserting TABWIDTH
  2207.           spaces]. This may be assigned to any key, for emulating other
  2208.           editors.
  2209.  
  2210.  
  2211.           INSERT_LINE_A                         "Insert a blank line above"
  2212.           Inserts a blank line above current position.
  2213.  
  2214.  
  2215.           KPAUSE
  2216.           Pauses a macro playback until a key is pressed. Returns the
  2217.           scancode of that key. Assign KPAUSE to a key, and press that key
  2218.           while recording a macro to cause the playback to pause. See also
  2219.           PLAYBACK, RECORD, SPLAY variable, WC_STUFFKEY, WC_STUFF_MACRO,
  2220.           and WC_GET_MACRO.
  2221.  
  2222.  
  2223.           NOKEY                                "Assign this key to nothing"
  2224.           Prevents the printing of a key in a document. The key may still
  2225.           be assigned to a function. For example, it is usually undesirable
  2226.           for escape to put a  character in your document, but desirable
  2227.           for escape to function in exiting menus.
  2228.  
  2229.  
  2230.           PLAYBACK                 "Play back the current key stroke macro"
  2231.           Executes, or plays, the current keystroke macro. The current
  2232.           macro is the one just recorded [see RECORD] or the macro file
  2233.           loaded with WC_STUFF_MACRO. See also KPAUSE, RECORD, SPLAY
  2234.           variable, WC_STUFFKEY, and WC_GET_MACRO.
  2235.  
  2236.  
  2237.           PPRINT_ALL                "Pretty print/format the AutoLISP file"
  2238.           Formats the current AutoLISP file by parenthesis, the tab, and
  2239.           LMARGIN settings. Automatically detects the indent level at which
  2240.           the line should be placed via parenthesis and strings. For
  2241.           example, If this were your lines of code in the file;
  2242.           (defun test(a / b);function test
  2243.           (if a ;test if a
  2244.           (progn ;set up branch
  2245.           (princ a);print the value of a
  2246.           (princ "Not a") ;no value to print
  2247.           )
  2248.           )
  2249.           )
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.           After formatting the text, with a TABWIDTH of 5, would be;
  2257.           (defun test(a / b);function test
  2258.               (if a ;test if a
  2259.                    (progn ;set up branch
  2260.                         (princ a);print the value of a
  2261.                         (princ "Not a") ;no value to print )
  2262.                    )
  2263.               )
  2264.           )
  2265.  
  2266.           Left justification will be added with LMARGIN spaces. Therefore
  2267.           be sure to set the variable to a desired value prior to
  2268.           formatting via
  2269.           ( WC_SETVAR "LMARGIN" nn ).
  2270.  
  2271.  
  2272.           RECORD                 "Record and End record a key stroke macro"
  2273.           Starts and ends recording a key stroke macro. Returns 1 if
  2274.           recording was started, 0 if ended. See also PLAYBACK, SPLAY
  2275.           variable, WC_STUFFKEY, WC_STUFF_MACRO, and WC_GET_MACRO.
  2276.  
  2277.  
  2278.           REFORM                            "Reformat block into paragraph"
  2279.           Reformats the lines of the currently blocked text to fit between
  2280.           the current values of LMARGIN and RMARGIN. The block is treated
  2281.           as a line block.
  2282.  
  2283.           For example, if LMARGIN = 5, RMARGIN = 40, then this;
  2284.           0    5                                  40
  2285.           :    :                                  :
  2286.           THIS IS A TEST TO CHECK OUT THE REFORMATTING OF BLOCKED
  2287.           PARAGRAPHS. THE FIRST COLUMN SHOULD BE AT 5 AND THE LAST
  2288.           COLUMN SHOULD BE AT 40.
  2289.  
  2290.           would be reformatted to this;
  2291.           0    5                                  40
  2292.           :    :                                  :
  2293.                THIS IS A TEST TO CHECK OUT THE
  2294.                REFORMATTING OF BLOCKED PARAGRAPHS.
  2295.                THE FIRST COLUMN SHOULD BE AT 5 AND
  2296.                THE LAST COLUMN SHOULD BE AT 40.
  2297.  
  2298.  
  2299.           SETMARK                                        "Set an undo mark"
  2300.           Sets an undo marker for the UBACK command. Works like the AutoCAD
  2301.           Undo/Mark command.
  2302.  
  2303.  
  2304.           SQUARE                "Reform paragraph with right justification"
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.           Reformats the current paragraph as described in REFORM. The right
  2311.           edge, however, will be justified by evenly padding each line with
  2312.           spaces, like this:
  2313.  
  2314.           0    5                                  40
  2315.           :    :                                  :
  2316.                THIS  IS  A TEST  TO CHECK  OUT  THE
  2317.                REFORMATTING  OF BLOCKED PARAGRAPHS.
  2318.                THE FIRST COLUMN SHOULD BE AT 5  AND
  2319.                THE  LAST  COLUMN SHOULD BE  AT  40.
  2320.  
  2321.  
  2322.           TCASE                                "Toggle case of marked text"
  2323.           Changes the case of blocked text to upper or lower case. A prompt
  2324.           asking the user to hit the up or down arrow key determines
  2325.           whether the case will be upper or lower.
  2326.  
  2327.  
  2328.           UBACK                                                 "Undo back"
  2329.           Undo back is similar to AutoCAD's Undo/Back command. Uback will
  2330.           undo changes to a buffer until it hits an undo mark. If no undo
  2331.           mark is set, you will be asked if you wish to undo everything.
  2332.  
  2333.  
  2334.           UGROUP                                        "Undo last command"
  2335.           This is the standard undo command, similar to the AutoCAD U
  2336.           command. Any changes made to buffers may be undone with this
  2337.           command. Once all undos have been performed a  message is
  2338.           displayed stating that all is undone. There is a limit to the
  2339.           amount that may be undone, but it is doubtful you will ever reach
  2340.           it.
  2341.  
  2342.  
  2343.           UPDATETEXT                         "Update selected drawing text"
  2344.           Updates AutoCAD drawing file text has been selected for editing.
  2345.           This is the same command accessed from the Dwgtext pull-down
  2346.           menu.
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.           SCRAP-BUFFER
  2353.  
  2354.  
  2355.           BCUT                        "Delete marked text or line to scrap"
  2356.  
  2357.           Copies the marked text to the scrap buffer and deletes the text.
  2358.           If no text is marked, then the current line will be copied to the
  2359.           scrap buffer and deleted.
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.           BEGIN_COL_MARK                              "Begin a column mark"
  2368.           Starts a column mark at current position.
  2369.  
  2370.  
  2371.           BEGIN_INC_MARK                          "Begin an inclusive mark"
  2372.           Starts an inclusive mark at current position.
  2373.  
  2374.  
  2375.           BEGIN_LINE_MARK                               "Begin a line mark"
  2376.           Starts a line mark at current position.
  2377.  
  2378.  
  2379.           CUT_PASTE                                   "Cut and paste block"
  2380.           Moves blocked text to current location, disturbs scrap buffer,
  2381.  
  2382.  
  2383.           DEL_MARKED                                   "Delete marked text"
  2384.           Delete's text from the current column position to the end of
  2385.           line. Disturbs scrap buffer in doing so and unhighlights the
  2386.           block.
  2387.  
  2388.  
  2389.           DUMP_SCRAP                            "Paste in the scrap buffer"
  2390.           Inserts the contents of the scrap buffer at the current position.
  2391.           When text is put into the scrap buffer the marking method is
  2392.           saved for insertion purposes [see the blocking status, #3, in
  2393.           WC_STATISTICS]. Before insertion of scrap, you may use
  2394.           "BEGIN_COL_MARK" or "BEGIN_LINE_MARK" to alter the insertion
  2395.           behavior between mark and column modes.
  2396.  
  2397.  
  2398.           DUMP_TO_SCRAP                        "Copy block to scrap buffer"
  2399.           Copies the blocked text to the scrap buffer. This overwrites any
  2400.           text in the scrap buffer. Unhighlights block. Marks can be
  2401.           retrieved through WC_STATISTICS, or rehighlighted with the
  2402.           trigger function REMARK.
  2403.  
  2404.  
  2405.           END_MARK                                           "End the mark"
  2406.           Drops the end marker at current position, used for both line and
  2407.           character marks,
  2408.  
  2409.  
  2410.           ERASE_MARKS                                  "De-highlight block"
  2411.           Unhighlights marks, sets mark status to 0, mark locations can
  2412.           still be retrieved with WC_STATISTICS.
  2413.  
  2414.  
  2415.           IMPORTSC                                 "Import screen to scrap"
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.           Imports the AutoCAD text screen contents into the scrap buffer
  2422.           for subsequent insertions.
  2423.  
  2424.  
  2425.           REMARK                             "Re-highlights previous block"
  2426.           Re-highlights previous marks, useful when a function has
  2427.           unhighlighted the block. See WC_STATISTICS for the locations of
  2428.           the marks.
  2429.  
  2430.  
  2431.           DISK
  2432.  
  2433.           COUTPUT                                   Change output file name
  2434.           Changes the name of the current buffer to another file name. No
  2435.           check is made for file existence of the new filespec. Subsequent
  2436.           file writes are made to the new file name.
  2437.  
  2438.  
  2439.           HARD_WRITE_ALL                          "Write all files to disk"
  2440.           Writes all files with no prompt.
  2441.  
  2442.  
  2443.           NEW_FILE                                 "Create/Load a new file"
  2444.           Reads a file into a new buffer, pops up window prompting for name
  2445.           of file.
  2446.  
  2447.  
  2448.           READ_IN_FILE                               "Read in another file"
  2449.           Appends file to active buffer at cursor position.
  2450.  
  2451.  
  2452.           SELECT_FILE                          "Edit/Delete another buffer"
  2453.           Pops up window for selecting new buffer from list of buffer
  2454.           names.
  2455.  
  2456.  
  2457.           UHARD                          "Write the current buffer to disk"
  2458.           Write the active buffer to disk, no questions asked, returns 1 on
  2459.           success, # on error.
  2460.  
  2461.  
  2462.           UNCOND_SAVEX  int                   "Save-as and exit to AutoCAD"
  2463.           Writes to file and exits, no prompts, returns 1 on success, # on
  2464.           error.
  2465.  
  2466.  
  2467.           WRITE_FILE_TO int                             "Write file to ..."
  2468.           Writes to file with prompt for filename, returns 1 on success, #
  2469.           on error.
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.           INQUIRY
  2479.  
  2480.           ASCIIC                                              "Ascii chart"
  2481.           Pops up the ASCII chart.
  2482.  
  2483.  
  2484.           CALCULATOR                                           "Calculator"
  2485.           Pops up the calculator. See Language menu/calculaTor for
  2486.           examples.
  2487.  
  2488.           COMMANDS                             "Pop up the commands window"
  2489.           Pops up the Command window. The functions in the Command window
  2490.           may be changed from the Function control panel.
  2491.  
  2492.           DO_ALL_BRACKET int                 "Test all parenthesis in file"
  2493.           Checks buffer for matching parenthesis and quotes, returns 1 on
  2494.           success, 0 on failure. When programming, use ( WC_STATISTICS ) to
  2495.           get position in buffer prior to initiation.
  2496.  
  2497.  
  2498.           FILESTRING                               "Build string find list"
  2499.           Pops up window prompting for multi-file search string. Search
  2500.           results in window containing list of buffers containing string.
  2501.  
  2502.  
  2503.           FIND                                                       "Find"
  2504.           Pops up window prompting for text to find in current buffer.
  2505.  
  2506.  
  2507.           FIND_AND_R                                     "Find and replace"
  2508.           Pops up windows prompting for text to find and replace, prompts
  2509.           for replacement. See variable NEXTFILE for automatically
  2510.           continuing search in next buffer.
  2511.  
  2512.  
  2513.           NUMBERS                              "Insert a column of numbers"
  2514.           Prompts the user for beginning number, ending number, and an
  2515.           incrementation. The numbers from beginning to end, in increments,
  2516.           will be inserted into the file starting at the current cursor
  2517.           position downward, one line per number. For example, beginning  =
  2518.           10, ending = 0 and incrementation = 2    would insert the
  2519.           following numbers:
  2520.              10
  2521.              8
  2522.              6
  2523.              4
  2524.              2
  2525.              0
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.           REPFIND                                        "Repeat last find"
  2534.           Repeats the previous find.
  2535.  
  2536.  
  2537.           RUNLISP                    "Run a non-registered AutoLISP routine
  2538.           Prompts for the name of an AutoLISP function to run. WCEdit will
  2539.           automatically be exited from to run this function. Provided your
  2540.           program runs smoothly, without an error, you will be returned to
  2541.           the editor. If an error occurs, you must reenter the editor via
  2542.           'WC' at the AutoCAD command prompt. This is handy for quickly
  2543.           testing your AutoLISP routines.
  2544.  
  2545.  
  2546.           SELECT_COMMAND                "Run a registered AutoLISP routine"
  2547.           Pops up menu containing definitions of all declared external
  2548.           functions. If no definition was supplied in the configuration,
  2549.           the name of the function is displayed. Functions may be executed
  2550.           by selecting a definition from the menu. This is the same
  2551.           function as run from the Commands menu.
  2552.  
  2553.  
  2554.           SINGLE_BRACKET                  "Find match for this parenthesis"
  2555.           Checks for single matching parenthesis or quotes. Call with
  2556.           cursor on parenthesis or quote, moves position to match if found,
  2557.           returns 1 on success, 0 on failure. The variable entitled 'Ignore
  2558.           comments in bracket test' [COMMANDS] is used by this command. If
  2559.           the variable is OFF, the contents of comments [;] will be
  2560.           considered. However, if the variable is ON, comments will be
  2561.           ignored.
  2562.  
  2563.  
  2564.           TIMEDATE                             "Insert time and date stamp"
  2565.           Displays the current time and date in a window. Striking the
  2566.           ENTER key results in the time and date string being inserted at
  2567.           the cursor position in the buffer.
  2568.  
  2569.  
  2570.           VIEWFILE                                            "View a file"
  2571.           Prompts the user for a file to view using the file dialog box.
  2572.           The dialog box will reappear until the user has canceled the
  2573.           request with the Escape key.
  2574.  
  2575.  
  2576.  
  2577.           WINDOWS
  2578.  
  2579.  
  2580.           MAKE_ONE                        "Zoom the current buffer to full"
  2581.           Zoom current window to full screen.
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.           PAINTL                              "Color paint the parenthesis"
  2590.           Toggles the parenthesis color-coding for LISP and 'C' files. The
  2591.           levels of colors will repeat themselves after the ninth level.
  2592.           See the PAINT variable for control of paint method.0
  2593.  
  2594.  
  2595.           POP1                                           "Pop first window"
  2596.           Pops the first pull down menu entitled 'Files'.
  2597.  
  2598.  
  2599.           POP2                                          "Pop second window"
  2600.           Pops the second pull down menu entitled 'Commands'.
  2601.  
  2602.  
  2603.           POP3                                           "Pop third window"
  2604.           Pops the third pull down menu entitled 'Language'.
  2605.  
  2606.  
  2607.           POP4                                          "Pop fourth window"
  2608.           Pops the fourth pull down menu entitled 'Options'.
  2609.  
  2610.  
  2611.           POP5                                           "Pop fifth window"
  2612.           Pops the fifth pull down menu entitled 'Dwgtext'.
  2613.  
  2614.  
  2615.           POP6                                           "Pop sixth window"
  2616.           Pops the sixth pull down menu entitled 'Spell'.
  2617.  
  2618.  
  2619.           QUIT                                            "Quit to AutoCAD"
  2620.           Exits from editor. No work is lost. Buffers are retained in
  2621.           editor.
  2622.  
  2623.  
  2624.           ROTATE_WINDOWS               "Rotate vertical/horizontal windows"
  2625.           Rotate windows alternately to vertical or horizontal.
  2626.  
  2627.  
  2628.           SPLIT_CENTER_R          "Split the screen at center horizontally"
  2629.           Split the screen vertical centered.
  2630.  
  2631.  
  2632.           SPLIT_CENTER_U            "Split the screen at center vertically"
  2633.           Split the screen horizontal centered.
  2634.  
  2635.  
  2636.           SPLIT_RIGHT             "Split the screen at position vertically"
  2637.           Split the screen right at column.
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.           SPLIT_UP        "Split the screen at position horizontally Alt 4"
  2646.           Split the screen at current row.
  2647.  
  2648.  
  2649.           TOGGLE_FILE                               "Toggle to next buffer"
  2650.           Toggles window to next buffer.
  2651.  
  2652.  
  2653.           TOGGLE_WINDOW                             "Toggle to next window"
  2654.           Toggles to other window if in split screen mode.
  2655.  
  2656.  
  2657.           VIEW_HELP                                         "View the help"
  2658.           Pops up help window displaying the file last loaded by (
  2659.           wc_help_file ), editing is not allowed.
  2660.  
  2661.  
  2662.           VIEW_SCRAP                                "View the scrap buffer"
  2663.           Pops up scrap buffer for viewing and editing.
  2664.  
  2665.  
  2666.           ZAP                                   "Remove the current buffer"
  2667.           Remove the active buffer. Prompts if file has not been saved.
  2668.  
  2669.  
  2670.  
  2671.  
  2672.               ** For more advanced windowing and message functions ** **
  2673.                          try MAGIC, also from Walt Craig. **
  2674.           
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.           WCEDIT LISP FUNCTIONS
  2683.  
  2684.           Functions are listed as ( FUNCTION argument ) value_returned.
  2685.           Some of WCEdit's functions return data, such as cursor location,
  2686.           chars, and strings. The action performed by the function is
  2687.           described and other nuggets are reported. Unless specifically
  2688.           noted, the function returns nothing of interest.
  2689.  
  2690.  
  2691.  
  2692.           CURSOR MOVEMENT
  2693.  
  2694.  
  2695.           ( WC_COL int ) int
  2696.  
  2697.           Description;
  2698.           Absolute move to column n,
  2699.  
  2700.           Arguments;row number as an integer [rows start @ 0].
  2701.  
  2702.           Returns;if n = -1 then returns current column number, doesn't
  2703.           move.
  2704.  
  2705.           Example;
  2706.           (setq col (wc_col -1))
  2707.           (wc_col (nth 1 old))
  2708.  
  2709.  
  2710.           ( WC_MOVE_DOWN int ) int
  2711.  
  2712.           Description;
  2713.           Relative move down by n lines.
  2714.  
  2715.           Arguments;number of lines to move down as an integer.
  2716.  
  2717.           Returns;returns the number of lines moved.
  2718.  
  2719.           Example;
  2720.           (setq n (wc_move_down 2))
  2721.  
  2722.  
  2723.           ( WC_MOVE_LEFT int ) int
  2724.  
  2725.           Description;
  2726.           Relative move left by n columns.
  2727.  
  2728.           Arguments;number of columns to move left as an integer.
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.           Returns;returns the number of columns moved.
  2736.  
  2737.           Example;
  2738.           (setq n (wc_move_left 1))
  2739.  
  2740.  
  2741.           ( WC_MOVE_RIGHT int ) int
  2742.  
  2743.           Description;
  2744.           Relative move right by n columns.
  2745.  
  2746.           Arguments;number of columns to move right as an integer.
  2747.  
  2748.           Returns;returns the amount moved.
  2749.  
  2750.           Example;
  2751.           (setq n (wc_move_right 5))
  2752.  
  2753.  
  2754.           ( WC_MOVE_UP int ) int
  2755.  
  2756.           Description;
  2757.           Relative move up by n lines.
  2758.  
  2759.           Arguments;number of line to move up as an integer.
  2760.  
  2761.           Returns;returns the amount moved.
  2762.  
  2763.           Example;
  2764.           (wc_move_up 1)
  2765.  
  2766.  
  2767.           ( WC_RACE_END int )
  2768.  
  2769.           Description;
  2770.           Moves current position to end of line, bottom of page, or bottom
  2771.           of file.
  2772.  
  2773.           Arguments;if integer is:
  2774.           0 then end of line,
  2775.           1 then bottom of screen
  2776.           2 then bottom of buffer.
  2777.  
  2778.           Returns;nothing of interest
  2779.  
  2780.           Example;
  2781.           (wc_race_home 2)
  2782.           (wc_trigger "begin_line_mark")
  2783.           (wc_race_end 2)
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.           ( WC_RACE_HOME int )
  2792.  
  2793.           Description;
  2794.           Moves current position to home, top of page, or top of file.
  2795.  
  2796.           Arguments;if integer is:
  2797.           0 then beginning of line,
  2798.           1 then top of screen,
  2799.           2 then top of buffer.
  2800.  
  2801.           Returns;nothing of interest
  2802.  
  2803.           Example;
  2804.           (setq row (wc_row -1))
  2805.           (setq col (wc_col -1))
  2806.           (wc_race_home 2)
  2807.  
  2808.  
  2809.           ( WC_ROW int ) int
  2810.  
  2811.           Description;
  2812.           Absolute move to row n,
  2813.  
  2814.           Arguments;row number as an integer [rows start @ 0]
  2815.  
  2816.           Returns;if n = -1 then return current row number, don't move.
  2817.  
  2818.           Example;
  2819.           (setq row (wc_row -1))
  2820.  
  2821.  
  2822.  
  2823.           EDITING
  2824.  
  2825.  
  2826.           ( WC_ADD_STRING string )
  2827.  
  2828.           Description;
  2829.           Concatenates the current line with a supplied string.
  2830.  
  2831.           Arguments;string to add.
  2832.  
  2833.           Returns;nothing of interest
  2834.  
  2835.           Example;
  2836.           (wc_add_string (strcat "Page "(itoa page)))
  2837.  
  2838.  
  2839.           ( WC_BREAK_LINE )
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.           Description;
  2847.           Inserts a carriage return at the current position.
  2848.  
  2849.           Arguments;none
  2850.  
  2851.           Returns;nothing of interest
  2852.  
  2853.           Example;
  2854.           (wc_trigger "next_word")
  2855.           (wc_break_line)
  2856.  
  2857.  
  2858.           ( WC_CLEAN_LEFT )
  2859.  
  2860.           Description;
  2861.           Removes leading spaces from the current line.
  2862.  
  2863.           Arguments;none
  2864.  
  2865.           Returns;nothing of interest
  2866.  
  2867.           Example;
  2868.           (wc_clean_left)
  2869.           (setq str (wc_get_string) ...
  2870.  
  2871.  
  2872.           ( WC_CLEAN_RIGHT )
  2873.  
  2874.           Description;
  2875.           Removes trailing spaces from the current line.
  2876.  
  2877.           Arguments;none
  2878.  
  2879.           Returns;nothing of interest
  2880.  
  2881.           Example;
  2882.           (wc_clean_right)
  2883.           (setq str (wc_get_string) ...
  2884.  
  2885.  
  2886.           ( WC_DOUBLE_KEY real string )
  2887.  
  2888.           Description;
  2889.           Tests if a scancode equals a character or a Shift, Alt or Ctrl
  2890.           combination of that letter.
  2891.  
  2892.           Arguments;( WC_DOUBLE_KEY real string )
  2893.           a scancode as a real,
  2894.           and the character to compare it to, as a string.
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.           Returns;Returns 1 if true, 0 if false.
  2902.  
  2903.           Example;
  2904.           (if (wc_double_key 32736 "Enter")
  2905.           (progn ...
  2906.  
  2907.  
  2908.           ( WC_DEL_CHAR )
  2909.  
  2910.           Description;
  2911.           Deletes the current character, and causes a wrap if the character
  2912.           is beyond the end of line.
  2913.  
  2914.           Arguments;none
  2915.  
  2916.           Returns;nothing of interest
  2917.  
  2918.           Example;
  2919.           (wc_del_char)
  2920.  
  2921.  
  2922.           ( WC_FIRST_KEY string ) real
  2923.  
  2924.           Description;
  2925.           Retrieves the first key assignment found [several keys may be
  2926.           assigned the same function].
  2927.  
  2928.           Arguments;a function/trigger as a string.
  2929.  
  2930.           Returns;returns the 1st assignment to a key found as a real,
  2931.           or nil if the function is not found.
  2932.  
  2933.           Example;
  2934.           (wc_first_key (nth 1 list))
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.           ( WC_FLUSH_BUFFER )
  2943.  
  2944.           Description;
  2945.           Deletes contents of active buffer, maintains name of buffer.
  2946.           !WARNING! No check is performed to test for file not being saved.
  2947.           You must perform this yourself with this function. Use
  2948.           WC_CLEAR_SCRAP to flush scrap buffer. See also WC_REMOVE_BUFFER
  2949.           and ZAP.
  2950.  
  2951.           Arguments;none
  2952.  
  2953.           Returns;nothing of interest
  2954.  
  2955.           Example;
  2956.           (wc_flush_buffer)
  2957.           (wc_race_home 2)
  2958.           (wc_trigger "dump_scrap")
  2959.  
  2960.  
  2961.           ( WC_GET_MACRO ) list
  2962.  
  2963.           Description;
  2964.           Gets the current macro for analysis or storage.
  2965.  
  2966.           Arguments;none
  2967.  
  2968.           Returns;a list of scancodes [as reals] which represent the
  2969.           'current' macro, or nil if no macro is defined.
  2970.  
  2971.           Example;
  2972.           (setq lst(wc_get_macro))
  2973.           (setq key(wc_message "Hit the key to assign" 0))
  2974.           (if (/= key 283.0)
  2975.           (progn ...
  2976.  
  2977.  
  2978.           ( WC_GFUNC real ) list
  2979.  
  2980.           Description;
  2981.           Gets the statistics about a function that is assign to a key.
  2982.  
  2983.           Arguments;a key scancode as a real.
  2984.  
  2985.           Returns;WC_GFUNC returns a list of (int string1 string2) where:
  2986.           int = 0 means that the function assigned to key is a trigger
  2987.           function
  2988.           int = 1 for external AutoLISP function,
  2989.           String1 is the trigger/function name,
  2990.           String2 is the description.
  2991.           or nil is returned if the key is not assigned to anything.
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.           Example;
  2999.           (setq lst (wc_gfunc i))
  3000.           (if lst (progn ...
  3001.  
  3002.  
  3003.           ( WC_GKEY "keyname" ) real
  3004.  
  3005.           Description;
  3006.           Gets the key value for the keyname passed as a string. Keyname
  3007.           must be exact and the function is case sensitive. See KEYS.LST
  3008.           for a list of exact keys.
  3009.  
  3010.           Arguments;key name as string.
  3011.  
  3012.           Returns;nothing of interest
  3013.  
  3014.           Example;
  3015.           (wc_gkey "Ctrl D")
  3016.           would return 8196.0
  3017.  
  3018.  
  3019.           ( WC_GNAME real ) string
  3020.  
  3021.           Description;
  3022.           Gets the name of a key.
  3023.  
  3024.           Arguments;scancode as a real.
  3025.  
  3026.           Returns;returns the key value as a string when passed a key code,
  3027.           returns "" if no string associated with this key value was found
  3028.           in internal list.
  3029.  
  3030.           Example;
  3031.           (wc_gname 8196) returns "Ctrl D"
  3032.  
  3033.  
  3034.           ( WC_OVERSTRIKE string )
  3035.  
  3036.           Description;
  3037.           Places a the first character of string at current position as if
  3038.           insert mode were off.
  3039.  
  3040.           Arguments;new character as a string.
  3041.  
  3042.           Returns;nothing of interest
  3043.  
  3044.           Example;
  3045.           (setq str (strcase char dir))
  3046.           (wc_overstrike str)
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.           ( WC_REPLACE_LINE string )
  3055.  
  3056.           Description;
  3057.           Replaces the current line with string.
  3058.  
  3059.           Arguments;new string.
  3060.  
  3061.           Returns;nothing of interest
  3062.  
  3063.           Example;
  3064.           (wc_replace_line (strcat ";;;Revised on: " (gdate)))
  3065.  
  3066.  
  3067.           ( WC_STUFF_CHAR string )
  3068.  
  3069.           Description;
  3070.           Inserts character at the current position, ignores all but first
  3071.           char of string.
  3072.  
  3073.           Arguments;character as a string.
  3074.  
  3075.           Returns;nothing of interest
  3076.  
  3077.           Example;
  3078.           (wc_stuff_char "{")
  3079.  
  3080.  
  3081.           ( WC_STUFFKEY real )
  3082.  
  3083.           Description;
  3084.           Stuffs a key scancode into the editor for evaluation. May be used
  3085.           to write 'intelligent' macros. See RECORD, PLAYBACK, WC_GET_MACRO
  3086.           AND WC_STUFFMACRO, .
  3087.  
  3088.           Arguments;scancode as a real.
  3089.  
  3090.           Returns;nothing of interest
  3091.  
  3092.           Example;
  3093.           (wc_stuffkey (nth index lst))
  3094.  
  3095.  
  3096.           ( WC_STUFFMACRO list )
  3097.  
  3098.           Description;
  3099.           Accepts a list of real numbers which represent a key macro. This
  3100.           list becomes the 'current' macro, which PLAYBACK will execute.
  3101.           See also RECORD, PLAYBACK, WC_GET_MACRO and WC_STUFFKEY.
  3102.  
  3103.           Arguments;none
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.           Returns;executes macro
  3111.  
  3112.           Example;
  3113.           (wc_stuffmacro "spell.chk")
  3114.           (wc_trigger "playback")
  3115.  
  3116.  
  3117.           ( WC_TRIGGER "command_string" )
  3118.  
  3119.           Description;
  3120.           Causes WCEdit to execute an trigger command, see the list of
  3121.           trigger commands in CONFIGURING WCEDIT, page 35.
  3122.  
  3123.           Arguments;WCEdit trigger command as a string.
  3124.  
  3125.           Returns;  nil
  3126.  
  3127.           Example;
  3128.           (wc_trigger "TOGGLE_FILE")
  3129.           (if(= i (nth 18 (wc_statistics)))
  3130.              (progn ...
  3131.  
  3132.  
  3133.           ( WC_TRIMENDS string ) string
  3134.  
  3135.           Description:
  3136.           Removes leading and trailing spaces from a string.
  3137.  
  3138.           Arguments;String.
  3139.  
  3140.           Returns;String.
  3141.  
  3142.           Example;
  3143.           (setq str(wc_trimends "   THIS IS A STRING   "))
  3144.           ;;; str is now "THIS IS A STRING"
  3145.  
  3146.  
  3147.           ( WC_WRAP_UP )
  3148.  
  3149.           Description;
  3150.           Wraps the line below to the end of the current line.
  3151.  
  3152.           Arguments;   none
  3153.  
  3154.           Returns;  nothing of interest
  3155.  
  3156.           Example;
  3157.           (wc_wrap_up)
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.           SCRAP-BUFFER
  3167.  
  3168.           ( WC_CLEAR_SCRAP )
  3169.  
  3170.           Description;
  3171.           Cleans out the scrap buffer, use WCFLUSH_BUFFER to clear text
  3172.           buffer.
  3173.  
  3174.           Arguments;   none
  3175.  
  3176.           Returns;  nothing of interest
  3177.  
  3178.           Example;
  3179.           (wc_clear_scrap)
  3180.  
  3181.  
  3182.  
  3183.           DISK
  3184.           File_string refers to a filespec consisting of a drive, path, and
  3185.           filename passed as a string, such as "D:\\ACAD\\MYHELP.HLP".
  3186.  
  3187.  
  3188.           ( WC_DIRBOX string ) string
  3189.  
  3190.           Description:
  3191.           Brings up the standard file I/O dialogue box with a title passed
  3192.           as the string.
  3193.  
  3194.           Arguments;  Title for box.
  3195.  
  3196.           Returns;   file_string, or nil if canceled.
  3197.  
  3198.           Example;
  3199.           (setq filename(wc_dirbox "LispLoader"))
  3200.  
  3201.  
  3202.           ( WC_HELP_FILE file_string )
  3203.  
  3204.           Description;
  3205.           Sets filespec of file to be displayed by VIEW_HELP.
  3206.  
  3207.           Arguments;   filespec as a string.
  3208.  
  3209.           Returns;  nothing of interest
  3210.  
  3211.           Example;
  3212.           (wc_help_file "helpme.txt")
  3213.  
  3214.  
  3215.           ( WC_NEW_FILE file_string )
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.           Description;
  3223.           Reads file into new buffer, use FINDFILE first if running in
  3224.           silent mode to avoid errors being written to screen, maximum
  3225.           number of buffers is two hundred.
  3226.  
  3227.           Arguments;   filespec as a string.
  3228.  
  3229.           Returns;  nothing of interest
  3230.  
  3231.           Example;
  3232.           (if(setq str(findfile fname))
  3233.              (wc_new_file str)
  3234.              ...
  3235.  
  3236.  
  3237.           ( WC_HARD_WRITE ) int
  3238.  
  3239.           Description;
  3240.           Writes buffer to file with no prompt.
  3241.  
  3242.           Arguments;   none
  3243.  
  3244.           Returns;  return
  3245.  
  3246.           Example;
  3247.           (wc_hard_write)
  3248.  
  3249.  
  3250.           ( WC_VIEW_FILE string ) int
  3251.  
  3252.           Description: Brings up the standard file viewer box with the file
  3253.           passed  within for browsing.
  3254.  
  3255.           Arguments;  file_string.
  3256.  
  3257.           Returns;  INT if file was found, or nil if not found.
  3258.  
  3259.           Example;
  3260.           (wc_viewfile "SPECS.TXT")
  3261.  
  3262.  
  3263.           ( WC_WRITE_SCRAP file_string ) int
  3264.  
  3265.           Description;
  3266.           Writes scrap buffer to file, use ( FINDFILE ) to check first,
  3267.           will overwrite existing file!.
  3268.  
  3269.           Arguments;   filespec as a string.
  3270.  
  3271.           Returns;  returns 1 on success, # on error.
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.           Example;
  3279.           (wc_write_scrap "cabinet.txt")
  3280.  
  3281.  
  3282.           ( WC_WRITE_TO_FILE file_string ) int
  3283.  
  3284.           Description;
  3285.           Write active buffer to file_string, use FINDFILE to check first,
  3286.           will overwrite existing file!,
  3287.  
  3288.           Arguments;   filespec as a string.
  3289.  
  3290.           Returns;  returns 1 on success, # on error.
  3291.  
  3292.           Example;
  3293.           (setq str (wc_fetch_string str " Enter file name " "escape to
  3294.           cancel" ))
  3295.           (if str (wc_write_to_file str))
  3296.  
  3297.  
  3298.           ( WC_READ_IN_FILE file_string )
  3299.  
  3300.           Description;
  3301.           Inserts file at cursor position, uses line mark mode, verify file
  3302.           exists with FINDFILE if working in silent mode.
  3303.  
  3304.           Arguments;   filespec as a string.
  3305.  
  3306.           Returns;  nothing of interest
  3307.  
  3308.           Example;
  3309.           (if(setq str(findfile fname))
  3310.              (wc_read_in_file str)
  3311.              ...
  3312.  
  3313.  
  3314.  
  3315.           INQUIRY
  3316.  
  3317.  
  3318.           ( WC_CASTCHAR real ) string
  3319.  
  3320.           Description;
  3321.           Converts a scancode to string.
  3322.  
  3323.           Arguments;   scancode to analyse.
  3324.  
  3325.           Returns;  key name as a string.
  3326.  
  3327.           Example;
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.           (setq answer (wc_castchar answer))
  3334.           (if (or (= answer "Y") (= answer "y"))
  3335.              (setq answer 't)
  3336.              ...
  3337.           and
  3338.           (wc_castchar 8196)
  3339.           would return ""
  3340.  
  3341.  
  3342.           ( WC_FETCH_INT string int int ) int
  3343.  
  3344.           Description;
  3345.           Draws a dialogue box for allow the user to edit an integer,
  3346.  
  3347.           Arguments;   ( WC_FETCH_INT "prompt" field_len default )
  3348.              prompt is displayed in the border, field length is the
  3349.              maximum number of digits accepted, and default is placed in
  3350.              the window for editing.
  3351.  
  3352.           Returns;  returns integer or nil.
  3353.  
  3354.           Example;
  3355.           (setq n (wc_fetch_int " Enter number to cipher " 6 100))
  3356.  
  3357.  
  3358.           ( WC_FETCH_REAL string int real ) real
  3359.  
  3360.           Description;
  3361.           Draws a dialogue box for allow the user to edit a real,
  3362.  
  3363.           Arguments;   ( wc_fetch_real "prompt" field_len default )
  3364.              prompt is displayed in the border, field length is the
  3365.              maximum number of digits accepted, and default is placed in
  3366.              the window for editing.
  3367.  
  3368.           Returns;  returns real, or nil.
  3369.  
  3370.           Example;
  3371.           (setq n
  3372.              (wc_fetch_real " Enter your temperature " 4 98.6))
  3373.  
  3374.  
  3375.           ( WC_FETCH_STRING string string string ) string
  3376.  
  3377.           Description;
  3378.           Draws a dialogue box containing string for the user to edit,
  3379.           remarks are embedded in border of box.
  3380.  
  3381.           Arguments;
  3382.           (wc_fetch_string  string_to_edit  "top_remark"  "bottom_remark")
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.           Returns;  returns the edited string, or nil if canceled.
  3390.  
  3391.           Example;
  3392.           (setq str (wc_fetch_string
  3393.                     str
  3394.                     " Enter file name "
  3395.                     "escape to cancel"
  3396.                  )
  3397.           )
  3398.  
  3399.  
  3400.           ( WC_FIND string ) int
  3401.  
  3402.           Description;
  3403.           Moves the position to the first occurrence of string.
  3404.  
  3405.           Arguments;   string to find.
  3406.  
  3407.           Returns;  returns 1 if found, nil otherwise.
  3408.  
  3409.           Example;
  3410.           (if (wc_find "my keys")
  3411.              (princ "I found them honey! )
  3412.           )
  3413.  
  3414.  
  3415.           ( WC_FIND_REPLACE string string int ) int
  3416.  
  3417.           Description;
  3418.           Finds string and replaces it integer times, if times < 0 then a
  3419.           global replace happens.
  3420.  
  3421.           Arguments;   ( WC_FIND_REPLACE "find" "replace" times )
  3422.  
  3423.           Returns;  returns the number of changes.
  3424.  
  3425.           Example;
  3426.           ( wc_find_replace "qedit" "wcedit" 0 )
  3427.  
  3428.  
  3429.           ( WC_GET_CHAR ) string
  3430.  
  3431.           Description;
  3432.           Give access the character at the current position.
  3433.  
  3434.           Arguments;   none
  3435.  
  3436.           Returns;  Returns the character at the current position, nil if
  3437.                     past end of line or buffer.
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.           Example;
  3445.           (wc_next_word 0)
  3446.           (setq n (wc_get_char))
  3447.  
  3448.  
  3449.           ( WC_GET_STRING ) string
  3450.  
  3451.           Description;
  3452.           Retrieves the current line of text.
  3453.  
  3454.           Arguments;   none
  3455.  
  3456.           Returns;  current line.
  3457.  
  3458.           Example;
  3459.           (setq s (wc_get_string))
  3460.  
  3461.  
  3462.           ( WC_GETVAR string ) int
  3463.  
  3464.           Description;
  3465.           Gets value of a WCEdit variable.
  3466.  
  3467.           Arguments;   name of variable.
  3468.  
  3469.           Returns;  value of variable.
  3470.  
  3471.           Example;
  3472.           (setq n (wc_getvar "rmargin"))
  3473.  
  3474.  
  3475.           ( WC_NEXT_CHAR ) string
  3476.  
  3477.           Description;
  3478.           Advances position to next character.
  3479.  
  3480.           Arguments;   none
  3481.  
  3482.           Returns;  returns the next character or nil at eof.
  3483.  
  3484.           Example;
  3485.           (setq n (wc_next_char))
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.           ( WC_NEXT_WORD ) string
  3494.  
  3495.           Description;
  3496.           Advances position to next word, depends on WC_SET_WORDS for
  3497.           spaces to skip.
  3498.  
  3499.           Arguments;   none
  3500.  
  3501.           Returns;   returns the next word.
  3502.  
  3503.           Example;
  3504.           (setq n (wc_next_word))
  3505.  
  3506.  
  3507.           ( WC_PREV_CHAR ) string
  3508.  
  3509.           Description;
  3510.           Retreats the position back to previous character.
  3511.  
  3512.           Arguments;   none
  3513.  
  3514.           Returns;  returns the previous character.
  3515.  
  3516.           Example;
  3517.           (setq n (wc_prev_char))
  3518.  
  3519.  
  3520.           ( WC_PREV_WORD ) string
  3521.  
  3522.           Description;
  3523.           Retreats position to previous word, depends on WC_SET_WORDS for
  3524.           spaces to skip.
  3525.  
  3526.           Arguments;   none
  3527.  
  3528.           Returns;  returns previous word.
  3529.  
  3530.           Example;
  3531.           (setq n (wc_prev_word))
  3532.  
  3533.  
  3534.           ( WC_SETVAR string int )
  3535.  
  3536.           Description;
  3537.           Sets WCEdit variable named string to int.
  3538.  
  3539.           Arguments;
  3540.           ( WC_SETVAR  name_of_variable  value )
  3541.  
  3542.           Returns;  nothing of interest
  3543.  
  3544.  
  3545.  
  3546.  
  3547.  
  3548.  
  3549.           Example;
  3550.           (setvar "lmargin" 5)
  3551.  
  3552.  
  3553.           ( WC_STATISTICS ) list
  3554.           Description;
  3555.           Used to retrieve the vital statistics for the editor. Handy for
  3556.           saving current status for later reestablishment.
  3557.  
  3558.           Arguments;   none
  3559.  
  3560.           Returns;
  3561.           a list where the nth item represents:
  3562.           n  type   data
  3563.  
  3564.           0  string    left or Main buffer name with path.
  3565.  
  3566.           1  string    right buffer name with path.
  3567.  
  3568.           2  int       number of lines in file, starts w/ line no. 1.
  3569.  
  3570.           3  int       blocking in effect in active buffer:
  3571.                     0 = none
  3572.                     1 = yes
  3573.  
  3574.           4  int       mark type:
  3575.                     1 = line
  3576.                     2 = block
  3577.  
  3578.           5  int       key code of last key entered.
  3579.  
  3580.           6  int       column number of first column in window.
  3581.  
  3582.           7  int       row number of first row in window.
  3583.  
  3584.           8  int       markx1 [starting column].
  3585.  
  3586.           9  int       marky1 [starting row].
  3587.  
  3588.           10 int       markx2 [ending column, may be before starting
  3589.                        column].
  3590.  
  3591.           11 int       marky2 [ending row, may be above starting row].
  3592.  
  3593.           12 int       file changed = 1.
  3594.  
  3595.           13 int       number buffers in editor.
  3596.  
  3597.           14 int       The current side of screen may have the following
  3598.                        values for the active buffer's position and also
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.                        may be used to establish the windowing scenario in
  3605.                        affect:
  3606.                     0 - Single window.
  3607.                     1 - Vertical windows. Current is right.
  3608.                     2 - Vertical windows. Current is left.
  3609.                     3 - Horizontal windows. Current is top.
  3610.                     4 - Horizontal windows. Current is bottom.
  3611.  
  3612.           15 int       current x position on screen [starts @ 0].
  3613.  
  3614.           16 int       current y position on screen [starts @ 0].
  3615.  
  3616.           17 string    Help file name with path.
  3617.  
  3618.           18 int       current file index - which file out of nth 13.
  3619.  
  3620.           19 int       current line mode [25,43 or 50].
  3621.  
  3622.  
  3623.           Example;
  3624.           (setq ok (nth 12 (wc_statistics)))
  3625.           (if (= ok 1) ...
  3626.  
  3627.           See the function GCNAME in WCFUNCS.LSP for an example of how to
  3628.           get the active buffer's name.
  3629.  
  3630.  
  3631.  
  3632.           SCREEN
  3633.  
  3634.  
  3635.           ( WC_BEEP real real )
  3636.  
  3637.           Description;
  3638.           Sounds the speaker.
  3639.  
  3640.           Arguments;   ( WC_BEEP freq duration )
  3641.           Both arguments are non-zero positive reals.
  3642.  
  3643.           Returns;  nothing of interest
  3644.  
  3645.           Example;
  3646.           (if (not (wc_find str))
  3647.              (wc_beep 5000.0 9000.0)
  3648.              (wc_print "Can't find Jack!")
  3649.           )
  3650.  
  3651.  
  3652.           ( WC_CENTER_ATX )
  3653.  
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.           Description;
  3660.           This centers the screen about the current column. If the current
  3661.           column is left of center, then the current column is adjusted.
  3662.  
  3663.           Arguments;   none
  3664.  
  3665.           Returns;  nothing of interest
  3666.  
  3667.           Example;
  3668.           (wc_race_end 0)
  3669.           (wc_center_atx)
  3670.  
  3671.  
  3672.           ( WC_CENTER_ATY )
  3673.  
  3674.           Description;
  3675.           This centers the screen about the current row. If the current row
  3676.           is above the center, then the current row is adjusted.
  3677.  
  3678.           Arguments;   none
  3679.  
  3680.           Returns;  nothing of interest
  3681.  
  3682.           Example;
  3683.           (wc_find "your string here")
  3684.           (wc_center_aty)
  3685.  
  3686.  
  3687.           ( WC_CLS )
  3688.  
  3689.           Description;
  3690.           Clears the entire screen using the colors defined with WC_COLORS,
  3691.           uses the background color.
  3692.  
  3693.           Arguments;   none
  3694.  
  3695.           Returns;  nothing of interest
  3696.  
  3697.           Example;
  3698.           (wc_cls)
  3699.           (wc_window ...
  3700.  
  3701.  
  3702.           ( WC_DISPLAY x1 y1 string )
  3703.  
  3704.           Description;
  3705.           Displays text on the screen. This is used generally with
  3706.           WC_WINDOW to display text in the window.
  3707.  
  3708.           Arguments;   ( WC_DISPLAY x1 y1 message )
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.           x1 column to start message,
  3715.           y1 row to start message,
  3716.           message   your message here.
  3717.  
  3718.           Returns;  nothing of interest
  3719.  
  3720.           Example;
  3721.           (wc_window 3 1 40 3 1 1)
  3722.           (wc_display 6 2 "Files     Editor     Special")
  3723.           (wc_window 3 4 15 15 1 1)
  3724.           (wc_display 4 5 "About") ...
  3725.  
  3726.  
  3727.  
  3728.           ( WC_GETCURS ) list
  3729.  
  3730.           Description;
  3731.           Returns the position of the cursor on the screen.
  3732.  
  3733.           Arguments;   none
  3734.  
  3735.           Returns;  list as ( row col ) relative to upper left corner
  3736.                     [0,0].
  3737.  
  3738.           Example;
  3739.           (setq where (wc_getcurs))
  3740.  
  3741.  
  3742.           ( WC_MESSAGE string int ) real
  3743.           Description;
  3744.           Displays a window containing a message.
  3745.  
  3746.           Arguments;   ( WC_MESSAGE message int )
  3747.           If the integer is:
  3748.           0  the function returns the integer scan code for the key
  3749.              pressed and closes the window.
  3750.           1  the window is left on the screen until an trigger or external
  3751.              (WC_REFRESH) occurs.
  3752.  
  3753.           Returns;  nothing of interest
  3754.  
  3755.           Example;
  3756.           (setq answer (WC_message "File exists! Overwrite? N" 0))
  3757.           (if (or (= answer "Y") (= answer "y")) ...
  3758.  
  3759.  
  3760.           ( WC_MOUSE int )
  3761.  
  3762.           Description;
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.           Sets initial use of mouse on or off. This may be called only once
  3769.           prior to entry into the editor [(wcedit)]. Typically used in a
  3770.           configuration file.
  3771.  
  3772.           Arguments;
  3773.           0  no mouse,
  3774.           1  use mouse.
  3775.  
  3776.           Returns;
  3777.           nothing of interest.
  3778.  
  3779.           Example;
  3780.           (WC_help_file "MYHELP.HLP");
  3781.           (WC_colors '(14 1 4 7 14 0 2))
  3782.           (WC_mouse 0)
  3783.  
  3784.  
  3785.           ( WC_PAD_LEFT int )
  3786.  
  3787.           Description;
  3788.           This function adds n spaces to the beginning of the current line.
  3789.  
  3790.           Arguments; ( WC_PAD_LEFT n )
  3791.           where n is any positive integer.
  3792.  
  3793.           Returns;  nothing of interest
  3794.  
  3795.           Example;
  3796.           (setq tabw (WC_getvar "TABWIDTH"))
  3797.           (WC_silent 1)
  3798.           (wc_race_home 0)
  3799.           (wc_trigger "NEXT_WORD")
  3800.           (WC_pad_left tabw)
  3801.  
  3802.  
  3803.           ( WC_PRINT string )
  3804.           Description;
  3805.           Prints a custom message on the bottom line of screen, message
  3806.           stays until overwritten or refresh 1 is called. See WC_MESSAGE
  3807.           for further message tools.
  3808.  
  3809.           Arguments;   message.
  3810.  
  3811.           Returns;  nothing of interest
  3812.  
  3813.           Example;
  3814.           (wc_setvar "PPRINT" 1)
  3815.           (WC_PRINT "AutoLISP formatting on RETURNS");
  3816.  
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.  
  3823.           ( WC_REFRESH int )
  3824.  
  3825.           Description;
  3826.           Redraws the screen to reflect changes made in editor. Allows
  3827.           several functions to be performed before updating the screen,
  3828.           increasing the speed of programs and improving the appearance.
  3829.           Turns silent mode off. A redraw is implicit in many trigger
  3830.           functions. See WC_SILENT.
  3831.  
  3832.           Arguments;
  3833.           0  Redraws the text window[s] only,
  3834.           1  Redraws both the text window[s] and the status line.
  3835.  
  3836.           Returns;nothing of interest
  3837.  
  3838.           Example;
  3839.           (wc_silent 0)
  3840.           (wc_col col)
  3841.           (wc_row row)
  3842.           (wc_center_aty)
  3843.           (wc_refresh 1)
  3844.  
  3845.  
  3846.           ( WC_REMOVE_BUFFER int )
  3847.  
  3848.           Description;
  3849.           This function will delete/remove a buffer from memory. !WARNING!
  3850.           BE SURE THAT YOU ARE DELETING WORK! Use statistic's 12th element
  3851.           to test if the file has been changed. The function takes one
  3852.           argument as an integer in the form ( WC_REMOVE_BUFFER index ),
  3853.           where a file index may be obtained from statistics. You are not
  3854.           allowed to delete/remove a buffer which is under view or the only
  3855.           buffer in the editor - see ZAP for this feature. The editor must
  3856.           maintain at least one buffer at all times. A possible use for
  3857.           this function is the operate on sections of text files in the
  3858.           background, via-cut paste, and remove it when done.
  3859.  
  3860.           Arguments;   ( WC_REMOVE_BUFFER int )
  3861.  
  3862.           Returns;  nothing of interest.
  3863.  
  3864.           Example;
  3865.           (if(= i (nth 18 (wc_statistics)))
  3866.              (wc_message "Attempted to delete active buffer!" 0)
  3867.              (wc_remove_buffer i)
  3868.           )
  3869.  
  3870.  
  3871.           ( WC_SETCURS int int )
  3872.  
  3873.  
  3874.  
  3875.  
  3876.  
  3877.  
  3878.           Description;
  3879.           Sets the cursor to position x1,y1. This has no effect upon the
  3880.           current position within the editor itself. This is for use with
  3881.           the WINDOW, DISPLAY, and TMENU functions.
  3882.  
  3883.           Arguments;   (wcsetcurs x1 y1)
  3884.  
  3885.           Returns;  nothing of interest.
  3886.  
  3887.           Example;
  3888.           (wc_window 10 3 70 6 1 2)
  3889.           (wc_display 12 4 "Go to dos (1)   Command (2)")
  3890.           (wc_setcurs 23 12)
  3891.  
  3892.           Places the cursor under the default (1).
  3893.  
  3894.  
  3895.           ( WC_SETMODE_NOW int ) int
  3896.  
  3897.           Description;
  3898.           Used for changing or resetting the video mode after entering the
  3899.           editor.
  3900.  
  3901.           Arguments;
  3902.           0  25 line,
  3903.           1  43/50 line,
  3904.  
  3905.           Returns;  the number of lines displayed.
  3906.  
  3907.           Example;
  3908.           (wc_print "This is 50 line mode ")
  3909.           (wc_setmode_now 1)
  3910.           (wc_print "This is 25 line mode ")
  3911.           (wc_setmode_now 0)
  3912.  
  3913.  
  3914.           ( WC_SHAVE )
  3915.  
  3916.           Description;
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922.  
  3923.           Arguments;   none.
  3924.  
  3925.           Returns;  nothing of interest
  3926.  
  3927.           Example;
  3928.           (wc_shave)
  3929.  
  3930.  
  3931.           ( WC_SILENT int )
  3932.  
  3933.           Description;
  3934.           Disables the display of all movement, editing, or other changes.
  3935.           Useful for suppressing messages returned by functions, using
  3936.           another buffer in the background, or to manipulate an file while
  3937.           in the drawing editor.
  3938.  
  3939.           Arguments;
  3940.              0   Turns on display,
  3941.              1   Turns off all screen display until either WC_REFRESH, re-
  3942.                  enter editor turned on, or critical message occurs.
  3943.  
  3944.           Returns;  nothing of interest.
  3945.  
  3946.           Example;
  3947.           (WC_silent 1)
  3948.           (setq reply (WC_append_scrap_to fname))
  3949.           (WC_silent 0)
  3950.           (if (not reply) ...
  3951.  
  3952.  
  3953.           ( WC_TMENU string int list ) int
  3954.  
  3955.           Description;
  3956.           Allows you to query the user for an item using a scrollable
  3957.           dialogue box
  3958.  
  3959.           Arguments;   ( wc_tmenu "title" default_position_integer (list
  3960.           of strings) )    the string "title" is displayed in the border,
  3961.              default position is highlight initially,
  3962.              each string in the list is an item for selection.
  3963.  
  3964.           Returns;  an integer for the item picked [nth item of list] or
  3965.                     nil if canceled.
  3966.  
  3967.           Example;
  3968.           (setq a (wc_tmenu " Title " _curconf_
  3969.                  (setq lst
  3970.                     (list
  3971.                        "  Editor1  "
  3972.                        "  Editor2  "
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.                        "  Editor3  "
  3979.                     )
  3980.                  )
  3981.              )
  3982.           )
  3983.  
  3984.           Displays a menu for selecting a configuration with the current
  3985.           configuration [ set in _curconf_ ] highlighted.
  3986.  
  3987.  
  3988.           ( WC_VER ) real
  3989.  
  3990.           Description;
  3991.           Returns the version of WCEdit that is running.
  3992.           Arguments;   none.
  3993.  
  3994.           Returns;  a real number [currently 1.04].
  3995.  
  3996.           Example;
  3997.           (setq curver (wc_ver))
  3998.  
  3999.  
  4000.           ( WC_WINDOW int int int int int int )
  4001.  
  4002.           Description;
  4003.           Draws a window on the screen from corners x1,y1 to x2,y2.
  4004.  
  4005.           Arguments;   ( WC_WINDOW x1 y1 x2 y2 height border )
  4006.           x1,x2  screen column from left
  4007.           y1,y2  screen row from top
  4008.           height    apparent depth of shadow in characters
  4009.           border    type of border, accepts;
  4010.              0   none
  4011.              1   single line
  4012.              2   double line
  4013.  
  4014.           Returns; nothing of interest.
  4015.  
  4016.           Example;
  4017.           (wc_cls)
  4018.           (wc_window 10 3 70 6 1 2)
  4019.           (wc_display 12 4 " WCEdit allows you to tailor the editor.")
  4020.           (wc_display 12 5 " Select a demo item to review.")
  4021.  
  4022.           Displays a window with upper left corner at col-10,row-3 to lower
  4023.           right corner at col-70,row-6 [4 rows high and 61 columns wide].
  4024.           It has an apparent height (shadow) of 1 character and a double
  4025.           lined border. The messages are then displayed in the window with
  4026.           WC_DISPLAY.
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.                ** For more advanced windowing and message functions **
  4039.                      ** try MAGIC V3.0, also from Walt Craig. **
  4040.  
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.  
  4047.  
  4048.           INDEX
  4049.  
  4050.  
  4051.  
  4052.              About  18
  4053.              ACONFIG  36
  4054.              Ascii cHart  27
  4055.              ASCIIC  49
  4056.              AUTO_INDENT  36
  4057.              BCUT  46
  4058.              BEGIN_COL_MARK  47
  4059.              BEGIN_INC_MARK  47
  4060.              BEGIN_LINE_MARK  47
  4061.              Blocking  12
  4062.              BOOKIND  37
  4063.              BSPACE_WRAP  37
  4064.              Buffer List  18
  4065.              Buffers   6, 18
  4066.              CalculaTor  28, 49
  4067.              CCOLOR  37
  4068.              CENTER_LINE  43
  4069.              Change style  31
  4070.              Check all Parentheses 26
  4071.              CLEAN_ALL_WHITE  43
  4072.              Color mode toggle 25
  4073.              Colors  29
  4074.              COMMANDS  19, 49
  4075.              Configure Keys  20
  4076.              COUTPUT  48
  4077.              CTABS  37
  4078.              CUT_PASTE  47
  4079.              DEFAULT KEYS  22
  4080.              DEL_FILLED  43
  4081.              DEL_MARKED  47
  4082.              DELETE_LINE  43
  4083.              DELETE_TO_BEG  43
  4084.              DELETE_TO_END  43
  4085.              DO_ALL_BRACKET  49
  4086.              DOBACKSPACE  43
  4087.              DOENTER  43
  4088.              DOINSERT  43
  4089.              DOPGDN  43
  4090.              DOPGUP  43
  4091.              DOTABKEY  44
  4092.              DUMP_SCRAP  47
  4093.              DUMP_TO_AC  37
  4094.              DUMP_TO_SCRAP  47
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.              DWGTEXT  30
  4101.              END_MARK  47
  4102.              ENDOFFILE  42
  4103.              ERASE_MARKS  47
  4104.              Files   6, 17, 18
  4105.              FILESTRING  49
  4106.              FIND  49
  4107.              FIND_AND_R  49
  4108.              Get text  30
  4109.              GOTOL  42
  4110.              HARD_WRITE_ALL  48
  4111.              Help  25
  4112.              High resolution  29
  4113.              IMPORTSC  47
  4114.              INSERT_LINE_A  44
  4115.              INSERT_MODE  37
  4116.              JUMP_QUOTES  37
  4117.              KPAUSE  44
  4118.              LANGUAGE  25
  4119.              LAST_SCRAP  37
  4120.              List Selected entities  26
  4121.              Low resolution  29
  4122.              MAKE_ONE  50
  4123.              Match parenthesis 25
  4124.              MMARK  37
  4125.              Mouse  30
  4126.              New  18
  4127.              NEW_FILE  48
  4128.              NEXT_WORD  42
  4129.              NEXTFILE  37
  4130.              NOKEY  44
  4131.              NUMBERS  49
  4132.              OPTIONS  29
  4133.              PAINT  38
  4134.              PAINTL  51
  4135.              Paste  30
  4136.              PLAYBACK  44
  4137.              POP  51
  4138.              PPRINT  38
  4139.              PPRINT_ALL  44
  4140.              PREV_WORD  42
  4141.              QOPEN  38
  4142.              Quit  17, 19, 51
  4143.              RCURSOR  38
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.              Read in  18
  4150.              READ_IN_FILE  48
  4151.              RECORD  45
  4152.              REFORM  45
  4153.              Reformat file <Lisp> 25
  4154.              REMARK  48
  4155.              REP_FIND  50
  4156.              RePlace  18
  4157.              Reset defaults  24
  4158.              RMARGIN  38
  4159.              ROTATE_WINDOWS  51
  4160.              Run AutoLISP function  28
  4161.              RUNLISP  50
  4162.              Save  17
  4163.              Save/eXit  18
  4164.              SELECT_COMMAND  50
  4165.              SELECT_FILE  48
  4166.              SETMARK  45
  4167.              SILENT  38
  4168.              SINGLE_BRACKET  50
  4169.              SPELL  32
  4170.              SPLAY  38
  4171.              SPLIT_CENTER_R  51
  4172.              SPLIT_CENTER_U  51
  4173.              SPLIT_RIGHT  51
  4174.              SPLIT_UP  52
  4175.              SQUARE  45
  4176.              SUPPORT  34
  4177.              TCASE  46
  4178.              Text mode  32
  4179.              TIMEDATE  50
  4180.              TOCASE  39
  4181.              Toggle file  18
  4182.              TOGGLE_FILE  52
  4183.              TOGGLE_WINDOW  52
  4184.              TOPOFFILE  42
  4185.              UBACK  46
  4186.              UGROUP  46
  4187.              UHARD  48
  4188.              UNCOND_SAVEX  48
  4189.              Update  31
  4190.              UPDATETEXT  46
  4191.              Variables  20
  4192.              VIEW_HELP  52
  4193.              VIEW_SCRAP  52
  4194.              VIEWFILE  50
  4195.              WC_ADD_STRING  55
  4196.              WC_BEEP  70
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.              WC_BREAK_LINE  55
  4203.              WC_CASTCHAR  64
  4204.              WC_CENTER_ATX  70
  4205.              WC_CENTER_ATY  71
  4206.              WC_CLEAN_LEFT  56
  4207.              WC_CLEAN_RIGHT  56
  4208.              WC_CLEAR_SCRAP  62
  4209.              WC_CLS  71
  4210.              WC_COL  53
  4211.              WC_COLORS  35
  4212.              WC_DEL_CHAR  57
  4213.              WC_DIRBOX  62
  4214.              WC_DISPLAY  71
  4215.              WC_DOUBLE_KEY  56
  4216.              WC_FETCH_INT  65
  4217.              WC_FETCH_REAL  65
  4218.              WC_FETCH_STRING  65
  4219.              WC_FIND  66
  4220.              WC_FIND_REPLACE  66
  4221.              WC_FIRST_KEY  57
  4222.              WC_FLUSH_BUFFER  58
  4223.              WC_GET_CHAR  66
  4224.              WC_GET_MACRO  58
  4225.              WC_GET_STRING  67
  4226.              WC_GETCURS  72
  4227.              WC_GETVAR  67
  4228.              WC_GFUNC  58
  4229.              WC_GKEY  59
  4230.              WC_GNAME  59
  4231.              WC_HARD_WRITE  63
  4232.              WC_HELP_FILE  36, 62
  4233.              WC_MESSAGE  72
  4234.              WC_MOUSE  72
  4235.              WC_MOVE_DOWN  53
  4236.              WC_MOVE_LEFT  53
  4237.              WC_MOVE_UP  54
  4238.              WC_NEW_FILE  62
  4239.              WC_NEXT_CHAR  67
  4240.              WC_NEXT_WORD  68
  4241.              WC_OVERSTRIKE  59
  4242.              WC_PAD_LEFT  73
  4243.              WC_PREV_CHAR  68
  4244.              WC_PREV_WORD  68
  4245.              WC_PRINT  73
  4246.              WC_RACE_END  54
  4247.              WC_RACE_HOME  55
  4248.              WC_READ_IN_FILE  64
  4249.              WC_REFRESH  74
  4250.              WC_REMOVE_BUFFER  74
  4251.              WC_REPLACE_LINE  60
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257.              WC_ROW  55
  4258.              WC_SETCURS  74
  4259.              WC_SETMODE_NOW  75
  4260.              WC_SETVAR  36, 68
  4261.              WC_SILENT  76
  4262.              WC_STATISTICS  69
  4263.              WC_STUFF_CHAR  60
  4264.              WC_STUFFKEY  60
  4265.              WC_STUFFMACRO  60
  4266.              WC_TMENU  76
  4267.              WC_TOGGLE  36
  4268.              WC_TRIGGER  61
  4269.              WC_TRIMENDS  61
  4270.              WC_VER  75, 77
  4271.              WC_WINDOW  77
  4272.              WC_WRAP_UP  61
  4273.              WC_WRITE_SCRAP  63
  4274.              WC_WRITE_TO_FILE  64
  4275.              WCCONFIG  39
  4276.              WHITE_ON  39
  4277.              Write config file 24
  4278.              Write to  18
  4279.              WRITE_FILE_TO  48
  4280.              ZAP  52
  4281. 
  4282.